#1576 fix npm build

This commit is contained in:
Mario Romano
2017-01-30 19:06:00 +00:00
parent 3a08a217b8
commit c18165caf1

View File

@@ -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