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
I was about to release a new version of a library I maintain after converting it to TypeScript, but I noticed it no longer works in Snack (but works fine in a local app).
The react-native-builder-bob docs state the following:
It's usually good to point to your source code with the react-native field to make debugging easier. Metro already supports compiling a lot of new syntaxes including JSX, Flow and TypeScript and it will use this field if present.
But as I understand it, Snackager is not Metro. I guess it's reading the react-native field and struggling with the fact that it's TS? I did see previous issue #319 but it's closed as fixed in #327.
What platform(s) does this occur on?
Android, iOS, Web
SDK Version
47
Reproducible demo or steps to reproduce from a blank project
Summary
I was about to release a new version of a library I maintain after converting it to TypeScript, but I noticed it no longer works in Snack (but works fine in a local app).
Snackager error (truncated):
I'm using
react-native-builder-bob
so mypackage.json
looks like so:The
react-native-builder-bob
docs state the following:But as I understand it, Snackager is not Metro. I guess it's reading the
react-native
field and struggling with the fact that it's TS? I did see previous issue #319 but it's closed as fixed in #327.What platform(s) does this occur on?
Android, iOS, Web
SDK Version
47
Reproducible demo or steps to reproduce from a blank project
https://snack.expo.dev/@wkovacs64/rnriv-typescript
The text was updated successfully, but these errors were encountered: