-
-
Notifications
You must be signed in to change notification settings - Fork 269
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: replace Parcel with Vite #1453
Comments
@idebenone about electron-vite: I checked it out, though I'm currently working with the other electron-vite (it's kinda odd how there's two of them). I've managed to get the Inspector's web version working, so now the issue is only with the Electron version. |
The reason why I used the other electron-vite is because the officially supported version reuses Vite's default config file ( |
Could you please share the vite and electron-vite configuration? |
I've been working on it in a separate branch of my fork: https://github.com/eglitise/appium-inspector/tree/move-to-vite |
I tried out with latest Electron version. Still there are errors but I think its a good progress in my opinion. You could take a look here, |
Awesome, thank you 🙏 does it also work without bumping Electron? We use |
Here you go Issues:
I haven't tested out the remaining functionalities, but the electron app is running normally. |
Thanks, I also updated my branch based on your changes.
|
Parcel v1 is greatly outdated and is holding back many important dependency upgrades, like Electron and antd.
Several possible replacements for it exist (Parcel v2, Webpack, Vite, etc.), which were examined and tested on a fresh Electron+React project. Vite seemed to be the most viable candidate, though, like the others, it also requires some refactoring beforehand. This issue will be used to track the migration progress.
Related tasks:
The text was updated successfully, but these errors were encountered: