Mastering Vite’s Dependency Pre‑Bundling in Monorepos: When to Include, Exclude, or Leave It Alone
Vite’s dependency pre‑bundling can make or break a monorepo dev workflow. Learn when to include or exclude workspace packages, how to fine‑tune <code>optimizeDeps</code>, and avoid common pitfalls with a concrete example and practical checklist.