File tree Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -65,10 +65,11 @@ module.exports = (env) => {
6565 entryModule : path . join ( __dirname , 'ClientApp/app/app.module.browser#AppModule' ) ,
6666 exclude : [ './**/*.server.ts' ]
6767 } ) ,
68- // new webpack.optimize.UglifyJsPlugin({
69- // compress: false,
70- // mangle: false
71- // })
68+ new webpack . optimize . UglifyJsPlugin ( {
69+ output : {
70+ ascii_only : true ,
71+ }
72+ } ) ,
7273 ] ) ,
7374 devtool : isDevBuild ? 'cheap-eval-source-map' : false ,
7475 node : {
@@ -104,10 +105,13 @@ module.exports = (env) => {
104105 { }
105106 )
106107 ] : [
107- // new webpack.optimize.UglifyJsPlugin({
108- // compress: false,
109- // mangle: false
110- // }),
108+ new webpack . optimize . UglifyJsPlugin ( {
109+ mangle : false ,
110+ compress : false ,
111+ output : {
112+ ascii_only : true ,
113+ }
114+ } ) ,
111115 // Plugins that apply in production builds only
112116 new AngularCompilerPlugin ( {
113117 mainPath : path . join ( __dirname , 'ClientApp/boot.server.PRODUCTION.ts' ) ,
You can’t perform that action at this time.
0 commit comments