Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion lib/plugins/package/lib/packageService.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,10 @@ module.exports = {
params.include.forEach((pattern) => {
patterns.push(pattern);
});
return globby(params.include.concat(['**']), {
// NOTE: please keep this order of concatenating the include params
// rather than doing it the other way round!
// see https://github.com/serverless/serverless/pull/5825 for more information
return globby(['**'].concat(params.include), {
cwd: path.join(this.serverless.config.servicePath, prefix || ''),
dot: true,
silent: true,
Expand Down