Skip to content

Commit

Permalink
fix: duplicated banner after minified (fix #346) (#359)
Browse files Browse the repository at this point in the history
  • Loading branch information
fi3ework committed Jun 19, 2020
1 parent e93f812 commit 9a5e211
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

1 comment on commit 9a5e211

@vercel
Copy link

@vercel vercel bot commented on 9a5e211 Jun 19, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.