semaphore/bin/terserOptions.js

14 lines
202 B
JavaScript

module.exports = {
ecma: 8,
mangle: true,
compress: {
pure_funcs: [
'console.log' // remove console logs in production
]
},
output: {
comments: false
},
safari10: true
}