Here we want to deploy a SvelteKit app, which has server-side code or do Server-Side Rendering (SSR) (data endpoints, load
function in components).
For a SvelteKit app which is a pure browser-only SPA or a static website, with no server-side code (as one generated with adapter-static
): you don't need an Azure app service instance, an Azure storage blob container ($web
) is all you need.
Note:
In theory, a Sveltekit app with a server-side should be deployable on the new "Azure Static Webapps" product, but we still need to have a dedicated adapter converting the server code to something compatible with Azure functions.