npm serverless-webpack 5.4.0

latest releases: 5.15.0, 5.14.2, 5.14.1...
3 years ago

After a long silence, here the latest release ✌️
We have new options, new arguments and some optimizations 🚀

📚 The full changelog is available here. But here are some highlights:

New options:

  • noFrozenLockfile (boolean) under the packagerOptions for the Yarn packager allows you to not have an up to date yarn.lock. See #687
  • excludeRegex (string) allows you to filter files that match the regex before adding to the zip. See #612
  • serializedCompile (boolean) allows you to run each webpack buid one at a time to reduce memory usage. See #517
  • allowCustomRuntime (boolean) added to the function level in your serverless.yml allows you force the packaging when you are using a nodejs custom runtime ONLY. See #675
  • concurrency (integer) allow to set the concurrency (defaults to the number of available cores), only works when packing functions individually. See #681

New arguments:

  • the --no-build used when deploying won't re-build everything if you already build it (using sls webpack for example). See #560

Optimizations:

  • switched to bestzip instead of archiver to use natine zip command if it exists. See #596
  • speed up cleanup process when removing .webpack folder. See #462

Don't miss a new serverless-webpack release

NewReleases is sending notifications on new releases.