Serverless plugin to bundle your lambdas with Webpack
Full Changelog: https://github.com/serverless-heaven/serverless-webpack/compare/v5.12.0...v5.13.0
This adds a new config parameter for both NPM & Yarn: copyPackageSectionNames
which list entries in your package.json
to copy to the output package.json
(for ESM output).
Full Changelog: https://github.com/serverless-heaven/serverless-webpack/compare/v5.11.0...v5.12.0
Full Changelog: https://github.com/serverless-heaven/serverless-webpack/compare/v5.10.0...v5.11.0
The lib is finally compatible with Yarn 2 (and above)! Thanks to @jagonzalr (and others involved in #642).
You need to define the option noNonInteractive
to true
in the packagerOptions
in serverless.yml
.
packagerOptions
: noNonInteractive
to disable interactive mode when using Yarn 2 or above by @jagonzalr in https://github.com/serverless-heaven/serverless-webpack/pull/1246
Full Changelog: https://github.com/serverless-heaven/serverless-webpack/compare/v5.9.1...v5.10.0
Full Changelog: https://github.com/serverless-heaven/serverless-webpack/compare/v5.9.0...v5.9.1
entrypoint
in serverless.yml
--webpack-use-polling
--webpack-use-polling
option by @emiksk in https://github.com/serverless-heaven/serverless-webpack/pull/1213
Full Changelog: https://github.com/serverless-heaven/serverless-webpack/compare/v5.8.0...v5.9.0
We have added a new CLI option --skip-build
which has the same behavior of the previous removed CLI option --no-build
. That option allows to run a function with an existing compiled output. (see https://github.com/serverless-heaven/serverless-webpack/pull/1190)
We have also properly defined CLI options to remove all errors like Detected unrecognized CLI options when using Serverless > v1 (see https://github.com/serverless-heaven/serverless-webpack/pull/1187)
--ignore-scripts
w/ Yarn Support by @hnryjms in https://github.com/serverless-heaven/serverless-webpack/pull/1186
packagerOption
lockFile is now properly used (for NPM) by @moroine in https://github.com/serverless-heaven/serverless-webpack/pull/1191
--skip-build
CLI option by @j0k3r in https://github.com/serverless-heaven/serverless-webpack/pull/1190
Full Changelog: https://github.com/serverless-heaven/serverless-webpack/compare/v5.7.1...v5.8.0
this.serverless
is undefined during zip by @j0k3r in https://github.com/serverless-heaven/serverless-webpack/pull/1153
Full Changelog: https://github.com/serverless-heaven/serverless-webpack/compare/v5.7.0...v5.7.1
@medikoo changed the output log when using Serverless v3, it's less verbose and more clean
progress:
success:
We switch back to archiver
instead of bestzip
to ensure consistent artifact. The switch to bestzip was mostly for faster zip because it tend to use the native zip command instead of the one from Node.
Support for NPM 8 was added by @moroine
sha
(remove bestzip
and bring back archiver
) by @russell-dot-js & @j0k3r in https://github.com/serverless-heaven/serverless-webpack/pull/1018
slsw.lib.options
by @coyoteecd in https://github.com/serverless-heaven/serverless-webpack/pull/1076
Full Changelog: https://github.com/serverless-heaven/serverless-webpack/compare/v5.6.1...v5.7.0
includeModules
and noInstall
at the same time. by @vicary in https://github.com/serverless-heaven/serverless-webpack/pull/1023
Full Changelog: https://github.com/serverless-heaven/serverless-webpack/compare/v5.6.0...v5.6.1