-
Notifications
You must be signed in to change notification settings - Fork 8
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
BREAKING CHANGE: Switch to vite
with electron-forge
#469
Conversation
I think that's right, I looked for things that would break existing apis. I didn't see anything, but I could be wrong! Just wanted to check what you thought |
build: Remove uneeded depencies
fix: Fix window differences beteem dev and prod
fix: Add serialport code as its own file again
…into type-module
BREAKING CHANGE: Update data paths
ref: `type: module`
Switches Honeycomb to the Vite compiler. Note that we use a Vite plugin (for
electron-forge
) to run the app inside an Electron browser.electron-forge
when running the applicationdev
script - we always pass a.env.*
fileimport.meta.env
from Vite instead ofprocess.env
Firebase
npm ci && npm run build:firebase
from the GH actionsnpm ci
andnpm run build:firebase
as predeploy scripts infirebase.json
Note that by doing this change the user doesn't have to worry about adding the predeploy script when they initialize Firebase hosting. One less step to simplify the onboarding process but I will have to update the documentation