perf(terser): remove console logs in production (#658)

This commit is contained in:
Nolan Lawson 2018-11-18 09:07:39 -08:00 committed by GitHub
parent 639c6eaed7
commit 4e35c82f94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -60,7 +60,9 @@ module.exports = {
terserOptions: {
ecma: 6,
mangle: true,
compress: true,
compress: {
pure_funcs: ['console.log']
},
output: {
comments: false
},