Exclude comments from webpack build
This commit is contained in:
parent
b482eba30e
commit
260d576fc2
@ -14,8 +14,12 @@ module.exports = merge(common, {
|
|||||||
terserOptions: {
|
terserOptions: {
|
||||||
compress: {
|
compress: {
|
||||||
pure_funcs: [ 'console.log' ]
|
pure_funcs: [ 'console.log' ]
|
||||||
|
},
|
||||||
|
output: {
|
||||||
|
comments: false,
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
extractComments: false
|
||||||
})
|
})
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user