build(aio): turn on webpack 3.0 scope-hoisting
This commit is contained in:
10
aio/tools/cli-patches/scope-hoisting.patch
Normal file
10
aio/tools/cli-patches/scope-hoisting.patch
Normal file
@ -0,0 +1,10 @@
|
||||
--- node_modules/@angular/cli/models/webpack-configs/production.js 2017-05-24 15:36:43.000000000 -0700
|
||||
+++ node_modules/@angular/cli/models/webpack-configs/production.js 2017-05-24 15:37:04.000000000 -0700
|
||||
@@ -85,6 +85,7 @@
|
||||
'NODE_ENV': 'production'
|
||||
}),
|
||||
new webpack.HashedModuleIdsPlugin(),
|
||||
+ new webpack.optimize.ModuleConcatenationPlugin(),
|
||||
new (require("purify/purify-webpack-plugin"))(),
|
||||
new webpack.optimize.UglifyJsPlugin({
|
||||
mangle: true,
|
Reference in New Issue
Block a user