0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00

fix(start-plugin-core): a virtual module's raw read never waits for its transforms

In a Vite build the raw facts read a virtual module through `this.load`, which
settles after the module's transforms. A compile among them that asks for the
same text (a marked module's own violation), or for that of a module waiting on
it (virtual modules importing each other), joined that read and hung the build.
A read now starts the load and is answered from the first transform hook.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Sheraff 2026-11-02 10:26:55 +01:00
commit 470a012a4d
No known key found for this signature in database
4 changed files with 244 additions and 8 deletions