Skip to content

Commit 302807d

Browse files
authored
Strip comments from output (#548)
1 parent 946bc9c commit 302807d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -683,6 +683,7 @@ function createConfig(options, entry, format, writeMeta) {
683683
// By default, Terser wraps function arguments in extra parens to trigger eager parsing.
684684
// Whether this is a good idea is way too specific to guess, so we optimize for size by default:
685685
wrap_func_args: false,
686+
comments: false,
686687
},
687688
warnings: true,
688689
ecma: modern ? 9 : 5,

0 commit comments

Comments
 (0)