mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +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
|
// Reference: http://webpack.github.io/docs/list-of-plugins.html#uglifyjsplugin
|
||||||
// Minify all javascript, switch loaders to minimizing mode
|
// Minify all javascript, switch loaders to minimizing mode
|
||||||
new webpack.optimize.UglifyJsPlugin({ // https://github.com/angular/angular/issues/10618
|
// new webpack.optimize.UglifyJsPlugin({
|
||||||
mangle: {
|
// mangle: {
|
||||||
keep_fnames: true
|
// keep_fnames: true
|
||||||
},
|
// },
|
||||||
compressor: {
|
// compressor: {
|
||||||
screw_ie8: true,
|
// screw_ie8: true,
|
||||||
warnings: false
|
// warnings: false
|
||||||
}
|
// }
|
||||||
}),
|
// }),
|
||||||
|
|
||||||
// Extract css files
|
// Extract css files
|
||||||
// Reference: https://github.com/webpack/extract-text-webpack-plugin
|
// Reference: https://github.com/webpack/extract-text-webpack-plugin
|
||||||
|
Reference in New Issue
Block a user