move config into svelte.config.js (#16265)

pull/16140/merge
Rich Harris 2 months ago committed by GitHub
parent e896c55b6c
commit 7c8be602be
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -0,0 +1,5 @@
export default {
compilerOptions: {
hmr: true
}
};

@ -7,14 +7,7 @@ export default defineConfig({
minify: false
},
plugins: [
inspect(),
svelte({
compilerOptions: {
hmr: true
}
})
],
plugins: [inspect(), svelte()],
optimizeDeps: {
// svelte is a local workspace package, optimizing it would require dev server restarts with --force for every change

Loading…
Cancel
Save