| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2025-09-10 | 3.0 kB | |
| v7.9.0 source code.tar.gz | 2025-09-10 | 502.5 kB | |
| v7.9.0 source code.zip | 2025-09-10 | 730.7 kB | |
| Totals: 3 Items | 1.2 MB | 0 | |
What's Changed
Vite Plugin Changes
In this release, a few improvements to the Vite plugin are important to note:
- We've had Out of Memory issues reported in the past for Vite builds with many renderer targets (ref https://github.com/electron/forge/issues/3965). Forge 7.9 adds the ability to limit the number of concurrent builds with the
concurrentconfiguration flag. Note that another workaround to memory issues is to increase V8's max memory size using the--max_old_space_sizeCLI flag in Node. - Forge 7.9 changes the default behaviour of Vite's static asset handling. Previously, the
publicDirwould copy to all build targets, where apps would typically only want to have the dir available for the web/renderer target. If you need to change this behaviour back, enable thebuild.copyPublicDiroption in the relevant Vite configurations.
Features:
- feat: updated publisher-s3 to support cache max-age for release files by @discorev in https://github.com/electron/forge/pull/3968
- feat: added inquirer as an alternative to --template cli by @sethcg in https://github.com/electron/forge/pull/3933
- feat(plugin-vite): add
concurrentoption by @erickzhao in https://github.com/electron/forge/pull/3990 - feat: improve Yarn Berry support by @erickzhao in https://github.com/electron/forge/pull/3997
Bug Fixes and Improvements
- build(deps): bump vite from 5.4.19 to 5.4.20 by @dependabot[bot] in https://github.com/electron/forge/pull/4001
- build(deps): use
@vscode/sudo-promptfork by @erickzhao in https://github.com/electron/forge/pull/3983 - build(deps): update
form-databy @erickzhao in https://github.com/electron/forge/pull/3991 - fix: wait for previous app to exit before restarting by @MarshallOfSound in https://github.com/electron/forge/pull/3973
- fix(plugin-vite): only copy
/publicin the renderer by @erickzhao in https://github.com/electron/forge/pull/3971 - fix(core-utils): startLogic was called in incorrect context by @Hill-98 in https://github.com/electron/forge/pull/3809
- fix(plugin-vite): handle object-like inputs from rollup options in CLI output by @erickzhao in https://github.com/electron/forge/pull/3982
- fix(plugin-vite): support
electron/*subpath imports by @erickzhao in https://github.com/electron/forge/pull/3988 - fix(plugin-vite): clearer bundle error state by @erickzhao in https://github.com/electron/forge/pull/3987
New Contributors
- @Hill-98 made their first contribution in https://github.com/electron/forge/pull/3809
- @sethcg made their first contribution in https://github.com/electron/forge/pull/3933
- @discorev made their first contribution in https://github.com/electron/forge/pull/3968
Full Changelog: https://github.com/electron/forge/compare/v7.8.3...v7.9.0