-
Notifications
You must be signed in to change notification settings - Fork 500
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
React Native TransformError #161
Comments
I fixed this problem by add the babel presets into my project.
Also add the ignore file list into
And make sure clear RN cache.
|
Had the same error using react (for web, not native), and your solution worked for me as well:
and in webpack.config.js added:
|
I believe this issue should be reopened; the fix here would be to move the config to a |
Hi @kpdecker, Since babel-preset-es2015 has been deprecated, and it's recommended to use babel-preset-env, it would be great, if it wasn't required to install babel-preset-es3 / babel-preset-es2015-mod for jsdiff to run without exceptions. I understand this has been fixed with a47aca9, are you planning to release a new version of jsdiff to npm which would fix this? |
Agreed with @akehir. Doubly so since having |
Released in 3.5.0 |
Steps to reproduce,
index.ios.js
file, and add the following line.The text was updated successfully, but these errors were encountered: