Skip to content

fix(web): use type-only exports in api.web#1003

Open
choi138 wants to merge 1 commit intosoftware-mansion:mainfrom
choi138:fix/api-web-type-exports
Open

fix(web): use type-only exports in api.web#1003
choi138 wants to merge 1 commit intosoftware-mansion:mainfrom
choi138:fix/api-web-type-exports

Conversation

@choi138
Copy link
Copy Markdown
Contributor

@choi138 choi138 commented Mar 30, 2026

Closes #1002

⚠️ Breaking changes ⚠️

Introduced changes

  • Replaced runtime re-exports with type-only re-exports in packages/react-native-audio-api/src/api.web.ts
  • Prevented generated web bundles from exporting type-only symbols as runtime values
  • Verified the package builds successfully and confirmed a local Storybook/Vite reproduction no longer fails with No matching export

Checklist

  • Linked relevant issue
  • Updated relevant documentation
  • Added/Conducted relevant tests
  • Performed self-review of the code
  • Updated Web Audio API coverage
  • Added support for web
  • Updated old arch android spec file

@mdydek mdydek added the fix label Mar 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Web bundle exports type-only symbols as runtime exports in 0.11.6

2 participants