We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ae7f9d commit 2574101Copy full SHA for 2574101
packages/@angular/cli/models/webpack-configs/production.ts
@@ -127,6 +127,8 @@ export function getProdConfig(wco: WebpackConfigOptions) {
127
}),
128
new webpack.HashedModuleIdsPlugin(),
129
new webpack.optimize.ModuleConcatenationPlugin(),
130
+ ...extraPlugins,
131
+ // Uglify should be the last plugin as PurifyPlugin needs to be before it.
132
new UglifyJSPlugin({
133
sourceMap: buildOptions.sourcemaps,
134
uglifyOptions: {
@@ -141,7 +143,6 @@ export function getProdConfig(wco: WebpackConfigOptions) {
141
143
},
142
144
}
145
- ...extraPlugins
146
]
147
};
148
0 commit comments