Skip to content

Commit

Permalink
test: disable vite build log
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Mar 3, 2024
1 parent 3e1d521 commit 8e01dae
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion test/unit-tests/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,15 @@ export const build: {
webpack: webpackBuild,
rspack: rspackBuild,
rollup: rollupBuild,
vite: viteBuild,
vite(config) {
return viteBuild(vite.mergeConfig(config || {}, {
build: {
rollupOptions: {
logLevel: 'silent',
},
},
logLevel: 'silent',
}))
},
esbuild: esbuildBuild,
}

0 comments on commit 8e01dae

Please sign in to comment.