0
Fork 0
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:
Sheraff 2026-10-30 11:06:58 +01:00
commit 80ff06fe5a
No known key found for this signature in database
3 changed files with 151 additions and 51 deletions