-
-
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
Some of the plugin in this preset delete array reverse call #628
Comments
yuri-karadzhov
changed the title
Some of the plugin in this preset ruin spred reverse
Some of the plugin in this preset delete array reverse call
Jul 11, 2017
Looks like I need to exclude array literals with spreads from most of the array methods. |
Seems like it is plugin echo 'export const b = a => [...a].reverse()' | babel --plugins=babel-plugin-minify-constant-folding
# export const b = a => [...a]; |
babel-plugin-minify-constant-folding@0.1.1 does not have this problem |
boopathi
added a commit
that referenced
this issue
Sep 25, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Babili deletes array reverse call (and probably something else as well)
And the result is
reverse()
disappears for no reasonsThe text was updated successfully, but these errors were encountered: