You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
carbon/next.config.js

9 lines
258 B
JavaScript

7 years ago
module.exports = {
// TODO remove `next.configs.js` when this closes: https://github.com/zeit/next.js/issues/1195
webpack (cfg) {
cfg.plugins = cfg.plugins
.filter(plugin => (plugin.constructor.name !== 'UglifyJsPlugin'))
return cfg
},
}