جميع المقالات · 21 يونيو 2026 test The ENTRY environment variable controls which bundle Vite builds. The main bundle empties dist/ first (emptyOutDir: entry === "main"), so order matters -- main