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

Vite 6 compability?

Open hermesalvesbr opened this issue 1 year ago • 3 comments

Is there any improvement of vite 6 for use with electron through this plugin is there anything specific in particular to use with vite 6 in compatibility with this plugin?

hermesalvesbr avatar Dec 16 '24 00:12 hermesalvesbr

Hey @caoxiemeihao, long time no see. Are you still working or have any plans to continue supporting electron-vite repos? I'm asking because we can't transition to Vite 6 and should start looking for alternatives otherwise.

Thanks!

astoilkov avatar Mar 16 '25 11:03 astoilkov

Hey @caoxiemeihao, long time no see. Are you still working or have any plans to continue supporting electron-vite repos? I'm asking because we can't transition to Vite 6 and should start looking for alternatives otherwise.

Thanks!

I have upgraded to vite 6 and have no issues, what are you running into?

Stanzilla avatar Apr 03 '25 21:04 Stanzilla

It works in dev.

It throws the following error during build:

{projectRoot}/node_modules/@electron/remote/renderer/index.js?commonjs-proxy (1:9): "__moduleExports" is not exported by "../../node_modules/@electron/remote/renderer/index.js", imported by "{projectRoot}/node_modules/@electron/remote/renderer/index.js?commonjs-proxy".
file: {projectRoot}/node_modules/@electron/remote/renderer/index.js?commonjs-proxy:1:9

astoilkov avatar Apr 04 '25 08:04 astoilkov