Skip to content

Commit dbdbd0e

Browse files
committed
fix unminified bug
1 parent 76ee10f commit dbdbd0e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/worker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export async function process ({ file, source, map, options = {} }) {
2828
compact: minify,
2929
minified: minify,
3030
// envName: minify ? 'production' : 'development',
31-
comments: minify ? false : null,
31+
comments: minify ? false : undefined,
3232
generatorOpts: {
3333
concise: true
3434
}

0 commit comments

Comments
 (0)