Changeset View
Changeset View
Standalone View
Standalone View
web/cashtab/config/webpack.config.js
Show First 20 Lines • Show All 335 Lines • ▼ Show 20 Lines | return { | ||||
// Pending further investigation: | // Pending further investigation: | ||||
// https://github.com/mishoo/UglifyJS2/issues/2011 | // https://github.com/mishoo/UglifyJS2/issues/2011 | ||||
comparisons: false, | comparisons: false, | ||||
// Disabled because of an issue with Terser breaking valid code: | // Disabled because of an issue with Terser breaking valid code: | ||||
// https://github.com/facebook/create-react-app/issues/5250 | // https://github.com/facebook/create-react-app/issues/5250 | ||||
// Pending further investigation: | // Pending further investigation: | ||||
// https://github.com/terser-js/terser/issues/120 | // https://github.com/terser-js/terser/issues/120 | ||||
inline: 2, | inline: 2, | ||||
drop_console: true, | |||||
}, | }, | ||||
mangle: { | mangle: { | ||||
safari10: true, | safari10: true, | ||||
}, | }, | ||||
output: { | output: { | ||||
ecma: 5, | ecma: 5, | ||||
comments: false, | comments: false, | ||||
// Turned on because emoji and regex is not minified properly using default | // Turned on because emoji and regex is not minified properly using default | ||||
▲ Show 20 Lines • Show All 427 Lines • Show Last 20 Lines |