-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Update create-react-app to use babel-plugin-react-native-web #629
Comments
We should have something like |
The next minor release – 0.3.0 – will include a new package
It's a plugin rather than a preset |
If someone wants to take this on and add it to the next release of CRA… facebook/create-react-app#3672 |
In progress at: facebook/create-react-app#4125 |
Thanks. Closing this tracking issue |
React Native for Web now exports a Babel plugin that sets up aliasing of the package and excludes any unused modules from builds. We should create a PR for
create-react-app
to rely on this instead of the webpack alias, as builds will be faster and smaller. AFAIK, the Jest package aliasing might also be unnecessary afterwards.The text was updated successfully, but these errors were encountered: