-
Notifications
You must be signed in to change notification settings - Fork 47.4k
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
Unknown plugin babel-plugin-transform-react-jsx-source #6695
Comments
Probably should just be |
This is really weird -- my build fails both on master and that commit. Could you reproduce this (locally and on travis)? @spicyj |
Haven't tried locally. Travis is broken trying to calculate coverage (unrelated) but the jest tests themselves appear to pass: |
Oh I figured out. It fails on npm3 but not npm2, since npm2 doesn't flatten deps. Out travis build only runs on npm2. I can do a PR to change |
Got it. Let's add an explicit dep in package.json and change .babelrc to reference it directly (don't need the babel-plugin- prefix in .babelrc). |
#6398 added
babel-preset-react/node_modules/babel-plugin-transform-react-jsx-source
to.babelrc
, butbabel-preset-react
doesn't export this module.npm run build
andnpm test
fail because of that.I removed this line from.babelrc
and #6398's tests still pass. Should I remove it or change it to justbabel-plugin-transform-react-jsx-source
? @troydemonbreun @jimfbAlso cc @spicyj since you might know this issue.
The text was updated successfully, but these errors were encountered: