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) {
7171
7272 // Load the Webpack plugin for manifest generation and install it.
7373 const AngularServiceWorkerPlugin = require ( '@angular/service-worker/build/webpack' )
74- . AngularServiceWorkerPlugin ;
74+ . AngularServiceWorkerPlugin ;
7575 extraPlugins . push ( new AngularServiceWorkerPlugin ( {
7676 baseHref : buildOptions . baseHref || '/' ,
7777 } ) ) ;
@@ -111,9 +111,10 @@ export const getProdConfig = function (wco: WebpackConfigOptions) {
111111 } ) ,
112112 new webpack . HashedModuleIdsPlugin ( ) ,
113113 new webpack . optimize . ModuleConcatenationPlugin ( ) ,
114- new webpack . optimize . UglifyJsPlugin ( {
114+ new webpack . optimize . UglifyJsPlugin ( < any > {
115115 mangle : { screw_ie8 : true } ,
116116 compress : uglifyCompressOptions ,
117+ output : { ascii_only : true } ,
117118 sourceMap : buildOptions . sourcemaps ,
118119 comments : false
119120 } )
You can’t perform that action at this time.
0 commit comments