8000 move config into svelte.config.js (#16265) · sveltejs/svelte@7c8be60 · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit 7c8be60

Browse files
authored
move config into svelte.config.js (#16265)
1 parent e896c55 commit 7c8be60

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

playgrounds/sandbox/svelte.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
export default {
2+
compilerOptions: {
3+
hmr: true
4+
}
5+
};

playgrounds/sandbox/vite.config.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,7 @@ export default defineConfig({
77
minify: false
88
},
99

10-
plugins: [
11-
inspect(),
12-
svelte({
13-
compilerOptions: {
14-
hmr: true
15-
}
16-
})
17-
],
10+
plugins: [inspect(), svelte()],
1811

1912
optimizeDeps: {
2013
// svelte is a local workspace package, optimizing it would require dev server restarts with --force for every change

0 commit comments

Comments
 (0)
0