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

fix(start-plugin-core): the Vite host leaves parse errors to the bundler's parser

A CommonJS dependency with a top-level `return` is no ES module: the core
reports a parse error and leaves the module as it is, and Vite's own parser
reports real syntax errors at the user's position (as the Rsbuild loader
already did). Flips the Vite row of "a CommonJS dependency with a top-level
return builds and keeps its meaning".

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
Sheraff 2026-10-25 11:07:53 +01:00
commit 1bd61ba7b7
No known key found for this signature in database
2 changed files with 10 additions and 3 deletions