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: {
|
||||
ecma: 6,
|
||||
mangle: true,
|
||||
compress: true,
|
||||
compress: {
|
||||
pure_funcs: ['console.log']
|
||||
},
|
||||
output: {
|
||||
comments: false
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue