chore: make it easier to toggle HMR in playground (#12251)

pull/12255/head
Rich Harris 3 months ago committed by GitHub
parent 71a4bce9e7
commit 42db9f8c65
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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

Loading…
Cancel
Save