Pinafore-Web-Client-Frontend/bin/terserOptions.js

14 lines
200 B
JavaScript

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