
* fix: use smooth scroll polyfill in Chrome for scroll-to-top * rename thunk to __thunk__ for safety
14 lines
237 B
JavaScript
14 lines
237 B
JavaScript
module.exports = {
|
|
ecma: 8,
|
|
mangle: true,
|
|
compress: {
|
|
pure_funcs: [
|
|
'console.log', // remove console logs in production
|
|
'__thunk__' // see thunk.js
|
|
]
|
|
},
|
|
output: {
|
|
comments: false
|
|
},
|
|
safari10: true
|
|
}
|