Skip to content

Conversation

devongovett
Copy link
Member

This enables code splitting across re-exports when using the non-scope hoisting packager. This significantly reduces bundle sizes when using libraries with barrel files, and not using scope hoisting (e.g. RSC static packager).

The packager injects resolutions for each symbol, and the prelude synthesizes a module that follows re-exports at runtime.

@devongovett devongovett merged commit cb9de9d into v2 Aug 30, 2025
15 of 17 checks passed
@devongovett devongovett deleted the split-re-exports-dev branch August 30, 2025 22:14
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.

1 participant