Remove uglify optimizer from webpack config, move scripts to npm
This commit is contained in:
parent
ff1b767f0f
commit
c9af4d98cc
12 changed files with 7105 additions and 278 deletions
|
@ -20,16 +20,7 @@ const config = {
|
|||
loader: 'babel-loader'
|
||||
}
|
||||
]
|
||||
},
|
||||
plugins: [
|
||||
new webpack.optimize.UglifyJsPlugin({
|
||||
compress: true,
|
||||
mangle: {
|
||||
except: ['fetch', 'map'],
|
||||
screw_ie8: true
|
||||
}
|
||||
})
|
||||
]
|
||||
}
|
||||
};
|
||||
|
||||
module.exports = config;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue