Skip to content

Commit

Permalink
build: avoid generating sourcemap for terser
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Sep 20, 2021
1 parent 6055ec9 commit c932207
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/vite/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,8 @@ const terserConfig = {
...sharedNodeOptions,
output: {
...sharedNodeOptions.output,
exports: 'default'
exports: 'default',
sourcemap: false
},
input: {
terser: require.resolve('terser')
Expand Down

0 comments on commit c932207

Please sign in to comment.