Skip to content
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

Support dependencies using ESM exports #359

Open
byCedric opened this issue Nov 1, 2022 · 1 comment
Open

Support dependencies using ESM exports #359

byCedric opened this issue Nov 1, 2022 · 1 comment

Comments

@byCedric
Copy link
Member

byCedric commented Nov 1, 2022

Right now, all packages using the ESM exports are failing to be bundled with Snackager. Unfortunately, Metro/RN lacks support for these dependencies as of writing.

Luckily, this is changing with the "Metro package exports support" RFC. Once this is finalized, we can also work on supporting this in Snackager.

All issues related to this are marked with the label snackager - exports support

@anzorb
Copy link

anzorb commented Jan 19, 2023

It appears that commonjs packages bundled with target "ES6" are failing to compile as well. See https://forums.expo.dev/t/unable-to-resolve-module-module-babel-runtime-helpers-interoprequiredefault-js/68960/2. Let me know if you need more info.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants