Add env file for static building

This commit is contained in:
0d0 2025-02-26 16:08:07 +01:00
parent b2797e3076
commit 44a9669bfd

View file

@ -10,7 +10,7 @@ const config = {
preprocess: [vitePreprocess(), mdsvex()], preprocess: [vitePreprocess(), mdsvex()],
kit: { kit: {
adapter: process.env.STATIC_BUILD ? adapterStatic({ strict: false}) : adapterNode() adapter: process.env.STATIC_BUILD ? adapterStatic({ strict: false }) : adapterNode()
}, },
extensions: ['.svelte', '.svx'] extensions: ['.svelte', '.svx']