/ svelte.config.js
svelte.config.js
1 import { vitePreprocess } from "@sveltejs/vite-plugin-svelte"; 2 import adapter from "@sveltejs/adapter-static"; 3 4 export default { 5 // Consult https://svelte.dev/docs#compile-time-svelte-preprocess 6 // for more information about preprocessors 7 preprocess: vitePreprocess(), 8 kit: { 9 adapter: adapter({ 10 // default options are shown. On some platforms 11 // these options are set automatically — see below 12 pages: "build", 13 assets: "build", 14 fallback: null, 15 precompress: false, 16 strict: true, 17 }), 18 }, 19 };