Skip to content

Commit 16953af

Browse files
committed
Merge pull request PatrickJS#265 from mastertinner/disable-mangling
disable mangle for now
2 parents f8e0c39 + a7eb86b commit 16953af

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

webpack.prod.config.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,10 @@ module.exports = {
157157
// comments: true,//debug
158158

159159
beautify: false,//prod
160-
mangle: { screw_ie8 : true },//prod
160+
// disable mangling because of a bug in angular2 beta.1
161+
// TODO(mastertinner): enable mangling as soon as angular2 beta.2 is out
162+
// mangle: { screw_ie8 : true },//prod
163+
mangle: false,
161164
compress : { screw_ie8 : true},//prod
162165
comments: false//prod
163166

0 commit comments

Comments
 (0)