forked from cybrespace/pinafore
perf(terser): remove console logs in production (#658)
This commit is contained in:
parent
639c6eaed7
commit
4e35c82f94
|
@ -60,7 +60,9 @@ module.exports = {
|
||||||
terserOptions: {
|
terserOptions: {
|
||||||
ecma: 6,
|
ecma: 6,
|
||||||
mangle: true,
|
mangle: true,
|
||||||
compress: true,
|
compress: {
|
||||||
|
pure_funcs: ['console.log']
|
||||||
|
},
|
||||||
output: {
|
output: {
|
||||||
comments: false
|
comments: false
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue