lib/uglifier.rb in uglifier-3.1.1 vs lib/uglifier.rb in uglifier-3.1.2
- old
+ new
@@ -77,10 +77,11 @@
:pure_getters => false, # Assume that object property access does not have any side-effects
:pure_funcs => nil, # List of functions without side-effects. Can safely discard function calls when the result value is not used
:drop_console => false, # Drop calls to console.* functions
:angular => false, # Process @ngInject annotations
:keep_fargs => false, # Preserve unused function arguments
- :keep_fnames => false # Do not drop names in function definitions
+ :keep_fnames => false, # Do not drop names in function definitions
+ :passes => 2
}, # Apply transformations to code, set to false to skip
:define => {}, # Define values for symbol replacement
:enclose => false, # Enclose in output function wrapper, define replacements as key-value pairs
:keep_fnames => false, # Generate code safe for the poor souls relying on Function.prototype.name at run-time. Sets both compress and mangle keep_fanems to true.
:screw_ie8 => false, # Don't bother to generate safe code for IE8