-
-
Notifications
You must be signed in to change notification settings - Fork 33
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
Upgrage Electron and Bundler #715
Comments
Upgrading Electron
|
Electron breaking changes from v9 to v22v10
v11
v12
v13
v14
v15
v16
v17
v18
v19
v20
v21
v22 |
Work started on this branch |
after pairing with Erik yesterday, the following issues were addressed:
|
another pairing session with Erik today. the following issues were addressed:
the app runs locally now! was even able to sync a small amount of data with my phone. next steps are more thorough testing and figuring out what's broken. separately, wondering if the map server directory |
after playing around with Vite and some vite electron plugins, thinking that this issue should be split into two items:
To my knowledge, upgrading Electron can be done independently without requiring major changes to our frontend setup. For the sake of better isolating these major changes, doing them separately will be easier to manage and review. Additionally, thinking that Vite may not be the option we want to use after my explorations. There's some deceptive complexity with it (maybe because of Electron) that I haven't fully managed to wrap my head around. Wondering if we can achieve 80% with just using Rollup and relevant plugins with the goal of creating a setup that
at the expense of some of the dev experience that Vite provides (when it works). Something to discuss in more detail |
Closing ticket, and replacing with #726 |
To be compatible with the new
Mapeo Core
, the Electron version needs to be upgraded to version 22.0.3As well, the current bundler (webpack) can be replaced with Vite-Electron.
Requirements
This electron version requires node v 16.17.1
The text was updated successfully, but these errors were encountered: