You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.
Lots of react-native ui libraries and tools will not publish transpiled code, but raw src code with jsx, es-modules etc, since metro bundler will automatically run them through babel. I'm not able to run those dependencies through babel though, even with useJsNext: true and Babel7Plugin=>limit2project
How can I make fuse-box load them without throwing syntax errors?
The text was updated successfully, but these errors were encountered:
Here is an example repo:
https://github.com/bkniffler/fuse-box-rn
Background
By building a react-native-web (https://github.com/necolas/react-native-web) based web application, I'm running into problems, since react-native-web allows to use react-native UI projects like react-native-elements (https://github.com/react-native-training/react-native-elements) by mapping react-native base elements (
View
,Text
, ...) to react-dom components. This works by aliasingreact-native
toreact-native-web
.Problem
Lots of react-native ui libraries and tools will not publish transpiled code, but raw src code with jsx, es-modules etc, since metro bundler will automatically run them through babel. I'm not able to run those dependencies through babel though, even with
useJsNext: true
andBabel7Plugin=>limit2project
How can I make fuse-box load them without throwing syntax errors?
The text was updated successfully, but these errors were encountered: