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:
parent
28f6d3e742
commit
1bd61ba7b7
2 changed files with 10 additions and 3 deletions
Loading…
Add table
Add a link
Reference in a new issue