-
Notifications
You must be signed in to change notification settings - Fork 2
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
Conflicts with babel-plugin-istanbul #4
Comments
Thank you for reporting!
That's true. Due to the plugin ordering in Babel6, and it's under discussion in Babel7 (babel/babel#5623, babel/babel#5854).
In short, if power-assert transpiler runs before istanbul, it works. Hmm I'll add this to known problems. |
Thanks for the quick reply, @twada! Feel free to link to the issue from the README or something like that, then. Fly safe! <3 |
So, I can't narrow it down to a simple test-case; but at the moment, using the
power-assert
preset (for testing output) alongside the istanbul plugin (for coverage generation) produces obscure syntax errors inside babel:(More: https://travis-ci.org/ELLIOTTCABLE/giraphe/jobs/245592548#L224-L372)
This is fixed by removing
babel-preset-power-assert
and replacing it with the individual plugins themselves, and then loading all three of them as babel plugins, instead of presets.The text was updated successfully, but these errors were encountered: