-
-
Notifications
You must be signed in to change notification settings - Fork 225
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
Incorrect folding of Array.concat (babel-plugin-minify-constant-folding) #577
Comments
Thanks for the report. /cc @j-f1 |
@boopathi Is there a way to protect against that? It doesn’t look like there is. |
This also broke https://github.com/sebastian-software/prepublish - I removed the plugin for now as it feels pretty unsafe when such massive issues are not covered by any test suite. https://github.com/sebastian-software/prepublish/releases/tag/0.16.3 |
@swernerx Sorry about the breakage. I didn’t realize that it could break that way. It should be fixed pending the next release. For now, you can just pin it to the last working version. |
I've noticed a strange behavior due to the minify-constant-folding transform used in babili >= 0.1.0.
Test case:
Here's an alternate case, based on the example found in the package's README:
For reference, here's my .babelrc I used to test/produce the above results:
Let me know if you'd like any further information.
Thanks,
Aphix
The text was updated successfully, but these errors were encountered: