1
0
mirror of https://github.com/nolanlawson/pinafore synced 2024-12-12 02:07:26 +01:00
Pinafore-Web-Client-Frontend/bin/terserOptions.js
Nolan Lawson 16e66346d7
fix!: remove esm package, use native Node ES modules (#2064)
BREAKING CHANGE: Node v12.20+, v14.14+, or v16.0+ is required

* fix!: remove esm package, use native Node ES modules

* fix: fix some CJS imports
2021-07-04 20:19:04 -07:00

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
}