We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c9c628 commit a04f1e8Copy full SHA for a04f1e8
packages/e2e-tests/scan-deps/vite.config.js
@@ -3,5 +3,17 @@ import { svelte } from '@sveltejs/vite-plugin-svelte';
3
4
// https://vitejs.dev/config/
5
export default defineConfig({
6
- plugins: [svelte()]
+ plugins: [svelte()],
7
+ server: {
8
+ watch: {
9
+ // During tests we edit the files too fast and sometimes chokidar
10
+ // misses change events, so enforce polling for consistency
11
+ usePolling: true,
12
+ interval: 100
13
+ }
14
+ },
15
+ build: {
16
+ minify: false,
17
+ sourcemap: true // must be true for hermetic build test!
18
19
});
0 commit comments