diff --git a/lib/terser.rb b/lib/terser.rb index 6f43ecc..7e3dc30 100644 --- a/lib/terser.rb +++ b/lib/terser.rb @@ -79,7 +79,7 @@ class Error < StandardError; end :negate_iife => true, # Negate immediately invoked function expressions to avoid extra parens :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 - :pure_new => false, # List of functions without side-effects. Can safely discard function calls when the result value is not used + :pure_new => false, # If objects generated by the new keyword are not used for other purposes, removes those objects :drop_console => false, # Drop calls to console.* functions :keep_fargs => false, # Preserve unused function arguments :keep_classnames => false, # Prevents discarding or mangling of class names. Pass a regular expression to only keep class names matching that regex.