We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug report or Feature request?
Feature request.
Version (complete output of terser -V or specific git commit)
terser -V
Online REPL 5th of October 2021
Complete CLI command or minify() options used
minify()
Default options:
{ module: true, compress: {}, mangle: {}, output: {}, parse: {}, rename: {}, }
terser input
terser
export function f(x) { x = x; }
terser output or error
export function f(f){f=f}
Expected result
export function f(f){}
The text was updated successfully, but these errors were encountered:
Do you see code like f = f as the output of some build step?
f = f
Sorry, something went wrong.
Sometimes Terser itself outputs x=x IIRC
x=x
Yeah, e.g. this produces the exact same output:
export function f(x) { const y = x; const z = y; x = z; }
Alright, let's add a simple assignment case.
adf7e85
No branches or pull requests
Bug report or Feature request?
Feature request.
Version (complete output of
terser -V
or specific git commit)Online REPL 5th of October 2021
Complete CLI command or
minify()
options usedDefault options:
terser
inputterser
output or errorExpected result
The text was updated successfully, but these errors were encountered: