Skip to content

Add extra compatibility for web bundlers like Vite or Webpack when using with React Native Web#230

Merged
xavi160 merged 2 commits intonextfrom
javier/export-compat
Apr 27, 2026
Merged

Add extra compatibility for web bundlers like Vite or Webpack when using with React Native Web#230
xavi160 merged 2 commits intonextfrom
javier/export-compat

Conversation

@xavi160
Copy link
Copy Markdown
Collaborator

@xavi160 xavi160 commented Apr 27, 2026

  • Updated rollup configuration to support separate builds for web and common JS formats.
  • Added new entry point for web-specific functionality in src/index.web.ts.
  • Updated package.json exports to include web module paths.

- Updated rollup configuration to support separate builds for web and common JS formats.
- Added new entry point for web-specific functionality in src/index.web.ts.
- Updated package.json exports to include web module paths.
@xavi160 xavi160 requested a review from a team as a code owner April 27, 2026 09:54
@xavi160 xavi160 self-assigned this Apr 27, 2026
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 27, 2026

🦋 Changeset detected

Latest commit: ccfb188

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@noriginmedia/norigin-spatial-navigation-react-native-tvos Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@xavi160 xavi160 merged commit 54dcdba into next Apr 27, 2026
1 check passed
@xavi160 xavi160 deleted the javier/export-compat branch April 27, 2026 12:13
xavi160 added a commit that referenced this pull request Apr 28, 2026
…ing with React Native Web (#230)

* feat: enhance rollup configuration and add web-specific entry point

- Updated rollup configuration to support separate builds for web and common JS formats.
- Added new entry point for web-specific functionality in src/index.web.ts.
- Updated package.json exports to include web module paths.
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.

2 participants