Skip to content

Commit

Permalink
refactor!: make terser an optional dependency (#8049)
Browse files Browse the repository at this point in the history
  • Loading branch information
sapphi-red authored Jun 8, 2022
1 parent 9a97dba commit 0b7023b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion playground/vitestSetup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,9 @@ export async function startDefaultServe() {
build: {
// esbuild do not minify ES lib output since that would remove pure annotations and break tree-shaking
// skip transpilation during tests to make it faster
target: 'esnext'
target: 'esnext',
// tests are flaky when `emptyOutDir` is `true`
emptyOutDir: false
},
customLogger: createInMemoryLogger(serverLogs)
}
Expand Down

0 comments on commit 0b7023b

Please sign in to comment.