mirror of
https://github.com/TanStack/router.git
synced 2026-11-16 19:38:07 +00:00
perf(start-plugin-core): dependency scripts reach the Vite compile hook only when their text names Start
The Start compile hook's filter was by id only, so every node_modules script crossed into JavaScript to be refused by the compile scope's text test. The compile hook now excludes dependency ids, and a second hook per environment takes dependency scripts behind that text test as a code filter (the same handler). When import protection's scope may reach a dependency by its path (an include, or a source directory holding the root's node_modules), the second hook keeps no code filter: the scope decides as before (new build test). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
420d6d716a
commit
80ff06fe5a
3 changed files with 151 additions and 51 deletions
Loading…
Add table
Add a link
Reference in a new issue