ptrdom / scalajs-vite

Bundles Scala.js projects and their npm dependencies with Vite
MIT License
14 stars 1 forks source link

Update dependency vite-plugin-electron to v0.29.0 #177

Closed renovate[bot] closed 1 week ago

renovate[bot] commented 1 week ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
vite-plugin-electron 0.28.8 -> 0.29.0 age adoption passing confidence

Release Notes

electron-vite/vite-plugin-electron (vite-plugin-electron) ### [`v0.29.0`](https://redirect.github.com/electron-vite/vite-plugin-electron/blob/HEAD/CHANGELOG.md#0290-2024-11-16) [Compare Source](https://redirect.github.com/electron-vite/vite-plugin-electron/compare/v0.28.8...v0.29.0) - [`638d0f3`](https://redirect.github.com/electron-vite/vite-plugin-electron/commit/638d0f3) feat: support main process control hot-reload - [`c58fbf9`](https://redirect.github.com/electron-vite/vite-plugin-electron/commit/c58fbf9) feat: mock index.html for support use the main process only **Hot Reload** Since `v0.29.0`, when preload scripts are rebuilt, they will send an `electron-vite&type=hot-reload` event to the main process.\ If your App doesn't need a renderer process, this will give you **hot-reload**. ```js // electron/main.ts process.on('message', (msg) => { if (msg === 'electron-vite&type=hot-reload') { for (const win of BrowserWindow.getAllWindows()) { // Hot reload preload scripts win.webContents.reload() } } }) ```

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR was generated by Mend Renovate. View the repository job log.