Skip to content

Commit

Permalink
Merge pull request #53 from watame/update_pure_new_option_comment
Browse files Browse the repository at this point in the history
Update pure_new option comment
  • Loading branch information
ahorek authored Mar 28, 2024
2 parents 21b6ad1 + a921321 commit 6330d5b
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 6330d5b

Please sign in to comment.