Skip to content

Commit dfe0912

Browse files
wip(build): in babel-loader, make compact option follow !noCompress flag
1 parent 1f28677 commit dfe0912

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ ${ pkg.name } v${ pkg.version } for vue${ vueTarget }
348348
use: {
349349
loader: 'babel-loader',
350350
options: {
351-
compact: true,
351+
compact: !noCompress,
352352
sourceMaps: !noSourceMap,
353353

354354
presets: [

0 commit comments

Comments
 (0)