svelte-adapter-azure-swa
svelte-adapter-azure-swa copied to clipboard
Update SvelteKit preset
With the work in #92 the amount of setup needed to deploy SvelteKit to Azure SWA is very minimal. We should make sure the SvelteKit preset in the Azure SWA CLI reflects these defaults to make deployment as painless as possible.
I don't think any work will need to happen in this repo (maybe docs?). Mainly creating this as a reminder to myself.
It would also be nice to get SvelteKit as an option on the "create Static Web App" flow via the VS Code extension, but not sure what controls that.
Edit: opened https://github.com/Azure/static-web-apps/issues/1057
v0.12 of the extension should support SvelteKit now. Still want to verify.
Also might be good to update the README to note that the extension will set this up for you.
Anecdotally, when I ran through this setup as part of another issue investigation it didn't set the right values for api_location in the workflow (it set it to .svelte-kit/azure-tmp/api instead of build/server). Need to investigate further.