Skip to content

Commit

Permalink
fix: duplicated banner after minified (fix egoist#346)
Browse files Browse the repository at this point in the history
  • Loading branch information
fi3ework committed Jun 18, 2020
1 parent e93f812 commit b717609
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.ts
Expand Up @@ -331,6 +331,7 @@ export class Bundler {
pluginsOptions.terser = {
...terserOptions,
output: {
comments: false,
...terserOptions.output,
// Add banner (if there is)
preamble: banner,
Expand Down

0 comments on commit b717609

Please sign in to comment.