5.4.0
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 thepackagerOptionsfor 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.ymlallows 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-buildused when deploying won't re-build everything if you already build it (usingsls webpackfor example). See #560