Skip to content

Commit

Permalink
uglify comparisons: false - fix meteor #8706
Browse files Browse the repository at this point in the history
Problematic issue what would cause people to disable minification entirely.
relates issues in other projects
facebook/create-react-app#2379
sleepycat/old_usesthis@523c872
mapbox/mapbox-gl-js#4359
mishoo/UglifyJS#2011 (comment)
  • Loading branch information
joedeveloper committed Jun 18, 2017
1 parent 472fcf8 commit c161834
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion minifier.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ meteorJsMinify = function (source) {
compress: {
drop_debugger: false,
unused: false,
dead_code: false
dead_code: false,
comparisons: false
}
}).code;

Expand Down

0 comments on commit c161834

Please sign in to comment.