Closed avital closed 9 years ago
@benjamn See my repro above, this breaks tests on Meteor's react-template-helper
package.
Looks like there's now a separate transform called react.displayName
, though I'm not sure why they would split it out like that.
See https://facebook.github.io/react/docs/jsx-in-depth.html#the-transform:
and https://babeljs.io/docs/usage/jsx/:
Here's the repro (run inside a clone of this repo):
(This manifests itself as a failure on the
react-template-helper
Meteor packages in the github.com/meteor/react-packages repo. The failing test tests a diagnostic message that extractsdisplayName
. Previous versions of this package worked when they depended on an older version of thebabel-compiler
package that used thebabel-core
NPM package directly)