Add env file for static building
This commit is contained in:
parent
b2797e3076
commit
44a9669bfd
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ const config = {
|
|||
preprocess: [vitePreprocess(), mdsvex()],
|
||||
|
||||
kit: {
|
||||
adapter: process.env.STATIC_BUILD ? adapterStatic({ strict: false}) : adapterNode()
|
||||
adapter: process.env.STATIC_BUILD ? adapterStatic({ strict: false }) : adapterNode()
|
||||
},
|
||||
|
||||
extensions: ['.svelte', '.svx']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue