warpgate/warpgate-web/svelte.config.js
2024-10-28 08:58:40 +01:00

20 lines
414 B
JavaScript

import sveltePreprocess from 'svelte-preprocess'
/** @type {import('@sveltejs/kit').Config} */
const config = {
compilerOptions: {
enableSourcemap: true,
dev: true,
compatibility: {
componentApi: 4,
},
},
preprocess: sveltePreprocess({
sourceMap: true,
}),
vitePlugin: {
prebundleSvelteLibraries: true,
},
}
export default config