fix(@angular/build): allow serving node_modules assets in monorepo setups by maruthang · Pull Request #32939 · angular/angular-cli
…tups In monorepo setups where node_modules are hoisted to a parent directory above the Angular workspace root, assets loaded from those packages (e.g., fonts from CSS files) were blocked by Vite's dev server with a 403 error. This was caused by the explicit `server.fs.allow` configuration only including the workspace root's `node_modules`, which overrides Vite's default package root detection. By adding `searchForPackageRoot()` to the allow list, the monorepo root directory is included, allowing access to hoisted node_modules. Fixes angular#31016