mirror of
https://github.com/warp-tech/warpgate.git
synced 2025-09-07 23:25:13 +08:00
20 lines
414 B
JavaScript
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
|