Skip to content
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

Use correct babel transform for dynamic import in dependencies #7208

Merged
merged 1 commit into from
Jun 13, 2019

Conversation

jamesknelson
Copy link
Contributor

The babel-plugin-transform-dynamic-import package is not specified in babel-preset-react-app's package.json. It appears that it was switched out with babel-plugin-dynamic-import-node in create.js here:

52fcb23

This commit updates it in dependencies.js too.

I ran into this while working on my SSR fork. The build script was failing before this commit, but is works correctly after the switch.

The `babel-plugin-transform-dynamic-import` package is not specified in babel-preset-react-app's `package.json`. It appears that it was switched out with `babel-plugin-dynamic-import-node` in `create.js` here:

facebook@52fcb23

This commit updates it in `dependencies.js` too.
@iansu
Copy link
Contributor

iansu commented Jun 13, 2019

Good catch. Thanks!

@iansu iansu added this to the 3.0.2 milestone Jun 13, 2019
@iansu iansu merged commit f522a0d into facebook:master Jun 13, 2019
jadurani pushed a commit to TuringEnterprises/create-react-app that referenced this pull request Jun 15, 2019
GeekOnCoffee pushed a commit to headwayio/create-react-app that referenced this pull request Jun 17, 2019
@lock lock bot locked and limited conversation to collaborators Jun 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants