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
Hi, I have some scripts use return on top level thus can't be converted.
return
Then I find we can tell Terser to enable bare_returns to accept it. https://github.com/terser/terser#parse-options
bare_returns
Would it be good to add a CLI option like --minify to delegate to Terser?
--minify
I am willing to prepare a PR, maybe introduce yargs to help handling the options.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, I have some scripts use
return
on top level thus can't be converted.Then I find we can tell Terser to enable
bare_returns
to accept it.https://github.com/terser/terser#parse-options
Would it be good to add a CLI option like
--minify
to delegate to Terser?I am willing to prepare a PR, maybe introduce yargs to help handling the options.
The text was updated successfully, but these errors were encountered: