Skip to content

Commit

Permalink
chore: only log errors when pre-bundling
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Jan 26, 2021
1 parent 20bacf7 commit 2f41d3f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/vite/src/node/optimizer/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ export async function optimizeDeps(
bundle: true,
format: 'esm',
external,
logLevel: 'error',
splitting: true,
sourcemap: true,
outdir: cacheDir,
Expand Down

0 comments on commit 2f41d3f

Please sign in to comment.