Skip to content
Discussion options

You must be logged in to vote

Solution thanks to @tjzel:

exporting ESM modules seems to be the correct decision as it seems to be nicely picked up by the final app babel plugin and everything seems to work. In my case I ditched babel and only used TypeScript with "module": "ESNext" and everything seems to work fine. I tried with different reanimated version and no more issues!

You can find the relevant commit here:
mgcrea/react-native-dnd@785d519

Replies: 5 comments 7 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
7 replies
@mgcrea
Comment options

@tjzel
Comment options

tjzel Sep 7, 2023
Maintainer

@mgcrea
Comment options

@tjzel
Comment options

tjzel Sep 8, 2023
Maintainer

@mgcrea
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by mgcrea
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants