Skip to content

feat(bundled-dev): lazy compilation through the pull endpoint - #24215

Closed
h-a-n-a wants to merge 1 commit into
hmr-pull-request-sizefrom
hmr-pull-lazy
Closed

h-a-n-a wants to merge 1 commit into
hmr-pull-request-sizefrom
hmr-pull-lazy

Conversation

@h-a-n-a

@h-a-n-a h-a-n-a commented Nov 25, 2026 •

Copy link
Copy Markdown
Member

Design (Vite side of rolldown/rolldown#11952):

  • A lazy import() is a normal pull to the patch route, with the route's module number in the l set. The /@vite/lazy route is removed.
  • Vite picks the lazy sourcemap store from the resolved query, so many patches do not push out the map of a route still in use.
  • The module runner keeps a payload's sourcemap while any module it registered is installed.

Stacked on #24214. Merge together with the rolldown version bump.

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