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 thepackagerOptions
for the Yarn packager allows you to not have an up to dateyarn.lock
. See #687excludeRegex
(string) allows you to filter files that match the regex before adding to the zip. See #612serializedCompile
(boolean) allows you to run each webpack buid one at a time to reduce memory usage. See #517allowCustomRuntime
(boolean) added to the function level in yourserverless.yml
allows you force the packaging when you are using a nodejs custom runtime ONLY. See #675concurrency
(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 (usingsls webpack
for example). See #560