From 9a5e211eb48f20a4fde4155714d53b606b404258 Mon Sep 17 00:00:00 2001 From: fi3ework Date: Fri, 19 Jun 2020 12:20:28 +0800 Subject: [PATCH] fix: duplicated banner after minified (fix #346) (#359) --- src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.ts b/src/index.ts index 64c25dc8..e9684521 100644 --- a/src/index.ts +++ b/src/index.ts @@ -331,6 +331,7 @@ export class Bundler { pluginsOptions.terser = { ...terserOptions, output: { + comments: false, ...terserOptions.output, // Add banner (if there is) preamble: banner,