File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
packages/@angular/cli/models/webpack-configs Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ export const getProdConfig = function (wco: WebpackConfigOptions) {
71
71
72
72
// Load the Webpack plugin for manifest generation and install it.
73
73
const AngularServiceWorkerPlugin = require ( '@angular/service-worker/build/webpack' )
74
- . AngularServiceWorkerPlugin ;
74
+ . AngularServiceWorkerPlugin ;
75
75
extraPlugins . push ( new AngularServiceWorkerPlugin ( {
76
76
baseHref : buildOptions . baseHref || '/' ,
77
77
} ) ) ;
@@ -111,9 +111,10 @@ export const getProdConfig = function (wco: WebpackConfigOptions) {
111
111
} ) ,
112
112
new webpack . HashedModuleIdsPlugin ( ) ,
113
113
new webpack . optimize . ModuleConcatenationPlugin ( ) ,
114
- new webpack . optimize . UglifyJsPlugin ( {
114
+ new webpack . optimize . UglifyJsPlugin ( < any > {
115
115
mangle : { screw_ie8 : true } ,
116
116
compress : uglifyCompressOptions ,
117
+ output : { ascii_only : true } ,
117
118
sourceMap : buildOptions . sourcemaps ,
118
119
comments : false
119
120
} )
You can’t perform that action at this time.
0 commit comments