-
-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
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
optimized function changes behavour #73
Comments
We just wrapper around |
@evilebottnawi - but code parsed through terser works just fine |
@roblan we don't change code, only send to terser and return, maybe other plugin do this |
@evilebottnawi have you looked into provided example? only difference is |
@roblan yes, and as i said above we don't change you code, all optimizations do |
ok, thanks. just realised that flags --compress --mangle makes all the difference here |
Expected Behavior
function should behave like non minimized one.
Actual Behavior
Terser plugin overoptimize function and changes it return params.
Code
How Do We Reproduce?
https://github.com/roblan/webpack_terser_bug/tree/master
The text was updated successfully, but these errors were encountered: