Skip to content

Commit

Permalink
fix: disable optimizeDeps when running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Jan 16, 2022
1 parent ef35823 commit e379f64
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/vitest/src/node/plugins/index.ts
Expand Up @@ -38,6 +38,7 @@ export async function VitestPlugin(options: UserConfig = {}, viteOverrides: Vite
build: {
sourcemap: true,
},
optimizeDeps: false,
}
},
async configureServer(server) {
Expand Down

0 comments on commit e379f64

Please sign in to comment.