diff options
Diffstat (limited to 'vite.config.js')
| -rw-r--r-- | vite.config.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vite.config.js b/vite.config.js index 863d652..61ba597 100644 --- a/vite.config.js +++ b/vite.config.js @@ -3,6 +3,9 @@ import { defineConfig } from 'vite'; export default defineConfig({ plugins: [sveltekit()], + // Tell Vitest to use the `browser` entry points in `package.json` files, + // even though it's running in Node + resolve: process.env.VITEST ? { conditions: ['browser'] } : undefined, server: { fs: { allow: [ |
