Back to all fixes
CuratedTypeScriptVite 8local

import.meta.glob with resolve.alias produces no output files in production build

Problem

Files matched via `import.meta.glob()` combined with a `resolve.alias` entry are correctly found in dev mode but are missing from the production build output under Vite 8 (rolldown-vite). Regression introduced by a Rolldown pre-release (rc.13).

Solution

typescript
Fixed in Rolldown rc.14, bundled starting with vite@8.0.8. Upgrade to vite@8.0.8 or later (avoid 8.0.7, which shipped with the broken rc.13). No config workaround needed after upgrading.