Skip to content

Commit f31e9e4

Browse files
committed
feat: disable comments in production
1 parent 0ae385f commit f31e9e4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ export function getTerserOptions(
4444
compress: isDev ? false : ProductionCompress,
4545
mangle: isReadable ? false : true,
4646
format: {
47+
comments: isReadable,
4748
beautify: isReadable,
4849
},
4950
}

0 commit comments

Comments
 (0)