mirror of
https://github.com/TanStack/router.git
synced 2026-11-16 19:38:07 +00:00
test(start-plugin-core): pin dev error mode silencing modules a server fn factory imports
Pin (test.fails, NEW): when the Start compiler's lookup of a server fn
factory module resolves its imports, Vite import protection records each
imported module as a lookup module by its path ("Propagate pre-transform
status transitively" in resolveId), so the client's own transform of that
module is silenced in dev with behavior "error": a module the factory
imports that calls getRequest() at the top level loads the real
@tanstack/react-start/server without any error. Same root cause as the B3
pin above, wider trigger. Red reason: "expected 'loaded' to deeply equal
[ 'client src/other.ts' ]"; the test passes with propagation removed.
Kills: spc:5168, spc:5169
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
4561f9fee5
commit
f80fc35de5
1 changed files with 21 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue