Skip to content

Commit

Permalink
fix(build): Remove comments from build
Browse files Browse the repository at this point in the history
  • Loading branch information
RomRider committed Jan 22, 2021
1 parent 7d7d637 commit 268ef77
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ const plugins = [
// cleanup({ comments: 'none' }),
dev && serve(serveopts),
!dev &&
terser({
terser({
format: {
comments: false,
},
mangle: {
safari10: true,
},
Expand Down

0 comments on commit 268ef77

Please sign in to comment.