This version includes breaking changes in required dependencies:
- Require SvelteKit version 2. See the SvelteKit v2 migration guide first to handle any SvelteKit breaking changes.
- Require Node 18 or higher. If you previously set
platform.apiRuntime
tonode:18
in the customStaticWebAppConfig, you can remove this setting. - Use esbuild 0.19.9 to build the deployed Azure function for SSR
IMPORTANT: since Azure's build system still defaults to Node 16 to build your app, you may need to set the engines field in your package.json to force it to build with Node 18. Node 16 is EOL and is not supported by SvelteKit v2.
Features
- require SvelteKit 2 and Node 18 (c77c842)