mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
#1576 fix npm build
This commit is contained in:
@@ -40,15 +40,15 @@ module.exports = webpackMerge(commonConfig, {
|
||||
|
||||
// Reference: http://webpack.github.io/docs/list-of-plugins.html#uglifyjsplugin
|
||||
// Minify all javascript, switch loaders to minimizing mode
|
||||
new webpack.optimize.UglifyJsPlugin({ // https://github.com/angular/angular/issues/10618
|
||||
mangle: {
|
||||
keep_fnames: true
|
||||
},
|
||||
compressor: {
|
||||
screw_ie8: true,
|
||||
warnings: false
|
||||
}
|
||||
}),
|
||||
// new webpack.optimize.UglifyJsPlugin({
|
||||
// mangle: {
|
||||
// keep_fnames: true
|
||||
// },
|
||||
// compressor: {
|
||||
// screw_ie8: true,
|
||||
// warnings: false
|
||||
// }
|
||||
// }),
|
||||
|
||||
// Extract css files
|
||||
// Reference: https://github.com/webpack/extract-text-webpack-plugin
|
||||
|
Reference in New Issue
Block a user