Fix Angular2Spa production builds
This commit is contained in:
parent
f1fa20afeb
commit
ff5cdd1815
|
|
@ -34,7 +34,7 @@ module.exports = {
|
||||||
new webpack.optimize.UglifyJsPlugin({
|
new webpack.optimize.UglifyJsPlugin({
|
||||||
compress: { warnings: false },
|
compress: { warnings: false },
|
||||||
minimize: true,
|
minimize: true,
|
||||||
mangle: true // Due to https://github.com/angular/angular/issues/6678
|
mangle: false // Due to https://github.com/angular/angular/issues/6678
|
||||||
})
|
})
|
||||||
])
|
])
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue