📢 Significant update
This release contains extensive changes with the building + watching lifecycle. These changes greatly improve performance especially when dealing with a large set of functions. Most of this is invisible but there are a few things to note:
- All functions are no longer prebuilt on
sst start
- they will be built progressively as they are invoked. - Building is prioritized over typechecking + linting so errors from those checks will show up asynchronously.
- The build files are now written to your
.sst/artifacts
folder and will no longer generate nested.build
folders.
💥 Breaking Changes:
- SST Console has been temporarily disabled. Great things coming soon :)
- Esbuild configs must now be defined as part of function props, cannot set them in
sst.json
bundle.esbuildConfig
cannot point to a file, it must be specified in code. However, theplugins
field must point to a file that exports an array of plugins
Special shout out to @kujtimiihoxha - he was invaluable in testing and tested over a dozen broken and buggy builds (and waiting for the Cloudformation to roll out). This release would not have been possible without him