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
input:
const f = x => void console.log(x);
output:
const f=a=>{}
In the original code, console.log is called for its side effect, and in the minified code, it is not.
The text was updated successfully, but these errors were encountered:
JS: Fix $report
dce85f3
See tdewolff/minify#463
e89c01f
Thanks for the issue, we should check for side-effects on all removals. I'm just about to take vacation, I'll take a look when I'm back!
Sorry, something went wrong.
96aaa12
Should be working now, please let me know if you have any issues ;-)
No branches or pull requests
input:
output:
In the original code, console.log is called for its side effect, and in the minified code, it is not.
The text was updated successfully, but these errors were encountered: