web


git clone https://radroots.dev/git/web.git
Log | Files | Refs | Submodules | README | LICENSE

svelte.config.js (364B)


      1 import adapter from "@sveltejs/adapter-static";
      2 import { vitePreprocess } from "@sveltejs/vite-plugin-svelte";
      3 
      4 const config = {
      5 	preprocess: vitePreprocess(),
      6 	kit: {
      7 		adapter: adapter({
      8 			pages: "build",
      9 			assets: "build",
     10 			fallback: "index.html",
     11 			precompress: false,
     12 			strict: true
     13 		}),
     14 		paths: {
     15 			relative: false
     16 		}
     17 	}
     18 };
     19 
     20 export default config;