Skip to content

Commit 9a5e211

Browse files
authored
fix: duplicated banner after minified (fix #346) (#359)
1 parent e93f812 commit 9a5e211

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,7 @@ export class Bundler {
331331
pluginsOptions.terser = {
332332
...terserOptions,
333333
output: {
334+
comments: false,
334335
...terserOptions.output,
335336
// Add banner (if there is)
336337
preamble: banner,

0 commit comments

Comments
 (0)