expo / expo/snack

Support dependencies using ESM `exports`

Open
#359 1 comment 0 reactions 0 assignees View on GitHub
snackager snackager - exports support
Dominant language
TypeScript
Stars
510
Forks
178
Avg merge
5h 7m
Merged PRs (30d)
5

Description

Right now, all packages using the [ESM `exports`](https://nodejs.org/api/packages.html#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](https://github.com/react-native-community/discussions-and-proposals/pull/534). 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`

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the linked Metro package exports support RFC and the current Snackager behavior for dependencies using ESM `exports`. Work can begin once Metro/RN support is finalized; done means packages using ESM `exports` bundle successfully with Snackager.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native
Domain
build-system
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.