File tree Expand file tree Collapse file tree 2 files changed +12
-7
lines changed
Expand file tree Collapse file tree 2 files changed +12
-7
lines changed Original file line number Diff line number Diff line change 1+ export const prerender = true ;
Original file line number Diff line number Diff line change 1- import adapter from ' @sveltejs/adapter-static' ;
2- import { vitePreprocess } from ' @sveltejs/vite-plugin-svelte' ;
1+ import adapter from " @sveltejs/adapter-static" ;
2+ import { vitePreprocess } from " @sveltejs/vite-plugin-svelte" ;
33
44/** @type {import('@sveltejs/kit').Config } */
55const config = {
@@ -12,14 +12,18 @@ const config = {
1212 // If your environment is not supported, or you settled on a specific environment, switch out the adapter.
1313 // See https://svelte.dev/docs/kit/adapters for more information about adapters.
1414 adapter : adapter ( {
15- fallback : '200.html'
15+ pages : "build" ,
16+ assets : "build" ,
17+ fallback : undefined ,
18+ precompress : false ,
19+ strict : true ,
1620 } ) ,
1721
1822 alias : {
19- ' $common/*' : ' ./src/common/*' ,
20- ' $modules/*' : ' ./src/modules/*'
21- }
22- }
23+ " $common/*" : " ./src/common/*" ,
24+ " $modules/*" : " ./src/modules/*" ,
25+ } ,
26+ } ,
2327} ;
2428
2529export default config ;
You can’t perform that action at this time.
0 commit comments