electron-vite icon indicating copy to clipboard operation
electron-vite copied to clipboard

Support Vite 5

Open undergroundwires opened this issue 1 year ago • 7 comments

Clear and concise description of the problem

Vite 5 is released but this package requires maximum of Vite 4.x as peer-dependency, blocking migrations to Vite 5.

Suggested solution

Support usage with Vite 5.

Alternative

No response

Additional context

No response

Validations

undergroundwires avatar Nov 16 '23 16:11 undergroundwires

Thanks for the reminder, it's under testing

alex8088 avatar Nov 17 '23 05:11 alex8088

electron-vite 2 beta is out, welcome to test and report issues.

alex8088 avatar Dec 14 '23 03:12 alex8088

After updating, rollup is no longer bundling dependencies for the main process. They're all being externalized.

I'm using the split vendor chunk plugin.

shayded-exe avatar Dec 14 '23 07:12 shayded-exe

@shayded-exe You can set ssr.noExternal to true to make externalizeDepsPlugin work

I will fix this issue.

alex8088 avatar Dec 14 '23 08:12 alex8088

Hi, I am using the beta-4 version and the HMR is not working when i have vue router. In the console I receive a message that the component is updated but the browser is not updating I have to go to another page and return back to the updated one to trigger the update

SvetBorislavov avatar Jan 08 '24 15:01 SvetBorislavov

Fixed with v2.0.0

SvetBorislavov avatar Jan 08 '24 16:01 SvetBorislavov

electron-vite 2.0 is out! 🎉,check out Announcement Blog Post for details.

alex8088 avatar Jan 09 '24 02:01 alex8088