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
Error: Duplicate parameter 'e' not allowed in function with default parameter values. #38
Comments
Might only be a problem for React projects.
|
We have the same problem, reverted for now |
It seems to be happening in |
Ok @zodern just to reconfirm you want this from a development project that runs with this package ( zodern:standard-minifier-js) or it doesn't matter? |
It should be a project that encounters this bug, but whether the app currently uses the minifier doesn't really matter. |
I'm having exactly this bug in a project that only uses Blaze, not React. The error comes from the path For me it's not happening on Safari but it is happening in the cordova-based iOS app on the same device 🤔 |
Several people shared the modules.js, and I've been able to reproduce on LambdaTest with Safari 16.0.0. The issue doesn't happen on my computer with Safari 16.5.1. |
I released version 5.2.0 which updates to the latest swc version. SWC has had many bug fixes in the minifier so it might have fixed this. |
Will give it a try and get back. |
I am able to render the web app in all browsers I tried (Chrome, Mac Safari, IOS, Mac Firefox. All seems ok. |
We have also updated but we still see the same error as before (on some iOS devices) |
"some" sounds a bit funny. Can you suggest IOS versions or so. We can try various versions in simulators. |
Sorry, yeah totally. I know it definitely goes wrong on an iPad running version 15.7.9 with Safari 15.6.6 |
@jdgjsag67251 maybe related to this: meteor/meteor#12838 |
@paulincai, hmm, maybe. But that has been an issue in Meteor for some time and this issue only started recently. But even if it is only the legacy bundle, It should still work when using this package, right? |
This should be fixed in version 5.3.0. I'm no longer able to reproduce after enabling swc's compress.unused option. |
We applied this (v5.1.2) in one of our projects and we started to get errors from safari browsers in production
We are reverting back to v4 for now and will do investigations next week. We are still unsure if the error was from our code (incompatible) or the minifier itself.
The text was updated successfully, but these errors were encountered: