mirror of
https://github.com/alex8088/electron-vite.git
synced 2026-04-30 01:38:14 +08:00
In Vite 8, rollupOptions.external is not honored when rolldownOptions exists separately. Use ssr.external to ensure electron is externalized in both main and preload SSR builds, since ssr.external takes precedence over ssr.noExternal for specified packages. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>