Skip to content
Permalink
Browse files

No ticket: Clean up uglifyjs compress options. Close gh-1382.

(cherry picked from commit e156270)
  • Loading branch information...
Krinkle authored and gibson042 committed Sep 24, 2013
1 parent 24e5879 commit 3ca883f863f8c4b3b1153e63ef40a8c2c523d399
Showing with 10 additions and 3 deletions.
  1. +10 −3 Gruntfile.js
@@ -113,10 +113,17 @@ module.exports = function( grunt ) {
ascii_only: true
},
compress: {
hoist_funs: false,
join_vars: false,
properties: true,
dead_code: true,
unsafe: false,
booleans: true,
loops: false,
unused: false
unused: false,
hoist_funs: false,
hoist_vars: false,
if_return: true,
join_vars: true,
warnings: true
}
}
}

4 comments on commit 3ca883f

@timmywil

This comment has been minimized.

Copy link
Member

replied Oct 15, 2013

The comments on the pull were not yet addressed for this one.

@mgol

This comment has been minimized.

Copy link
Member

replied Oct 15, 2013

Agreed. cc @gibson042

@gibson042

This comment has been minimized.

Copy link
Member

replied Oct 16, 2013

This landed prematurely (I forgot to alphabetize), but @Krinkle's "hardcode certain sensible defaults" approach was intentional on #1382.

@timmywil

This comment has been minimized.

Copy link
Member

replied Oct 16, 2013

Please sign in to comment.
You can’t perform that action at this time.