expo/snack

Support dependencies using ESM `exports`

byCedric opened this issue · 1 comments

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

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!