fix(build): prevent Vite dev transform overflow (#1379)

* fix(build): prevent Vite dev transform overflow

* fix(build): preserve commented Vite URL imports
This commit is contained in:
4gray authored and GitHub committed 2026-08-08 08:03:09 +02:00
1 parent f40320e42e
commit d9a763e77d
9 files changed
+215 -6

No files matched your search

+5
View File
@@ -18,6 +18,11 @@ This file provides guidance to coding agents working in this repository.
- See `docs/architecture/nx-workspace-boundaries.md` for the current Nx tag and alias policy.
- Keep `nx` and every official `@nx/*` package on the same exact version; run
`pnpm run deps:nx:validate` after dependency updates.
- Vite `7.3.5`, resolved through Angular's build tooling, is patched with
bounded transform prefilters and the upstream precise matchers in
`patches/vite@7.3.5.patch`. Keep the patch until supported Angular tooling
resolves a Vite version containing the fix, and run `pnpm run deps:vite:test`
after related dependency updates.
- A directory holding files consumed by other projects must be an Nx project.
Nx builds its graph from TypeScript imports only, so a relative SCSS `@use`
across project roots creates no edge and the imported file lands in no task