Skip to content

Commit

Permalink
Update pure_new option comment
Browse files Browse the repository at this point in the history
  • Loading branch information
watame authored Mar 28, 2024
1 parent 21b6ad1 commit a921321
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/terser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit a921321

Please sign in to comment.