Skip to content

feat: add modern package.json exports field - #740

Open
leotm wants to merge 1 commit into
appandflow:mainfrom
leotm:add-exports-package-json
Open

feat: add modern package.json exports field#740
leotm wants to merge 1 commit into
appandflow:mainfrom
leotm:add-exports-package-json

Conversation

@leotm

@leotm leotm commented Jul 21, 2026

Copy link
Copy Markdown

Adds an  field to provide granular control over import resolution.
This ensures bundlers with strict moduleResolution (e.g., TypeScript's tsgo
with  mode) resolve to compiled  +  files rather than
TypeScript sources, avoiding type-check errors from deep React Native imports.
@leotm
leotm marked this pull request as draft July 21, 2026 14:58
@leotm
leotm marked this pull request as ready for review July 21, 2026 15:58
@leotm leotm changed the title feat: add package.json exports field for modern module resolution feat: add package.json exports field Jul 21, 2026
@leotm leotm changed the title feat: add package.json exports field feat: add modern package.json exports field Jul 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[RN 0.88] Add modern exports field to package.json react-native-safe-area-context types incompat with 0.88.0-nightly

1 participant