warpgate/warpgate-web/svelte.config.js

18 lines
351 B
JavaScript
Raw Normal View History

2022-04-11 04:58:58 +08:00
import sveltePreprocess from 'svelte-preprocess'
2022-06-27 02:50:04 +08:00
/** @type {import('@sveltejs/kit').Config} */
const config = {
2022-04-11 04:58:58 +08:00
compilerOptions: {
enableSourcemap: true,
2022-09-22 02:46:22 +08:00
dev: true,
2022-04-11 04:58:58 +08:00
},
preprocess: sveltePreprocess({
sourceMap: true,
}),
2022-11-12 03:31:08 +08:00
vitePlugin: {
prebundleSvelteLibraries: true,
},
2022-04-11 04:58:58 +08:00
}
2022-06-27 02:50:04 +08:00
export default config