Skip to content

feat: add electron-forge bundle CLI command#4164

Open
bglgwyng wants to merge 1 commit intoelectron:mainfrom
bglgwyng:feat/bundle-command
Open

feat: add electron-forge bundle CLI command#4164
bglgwyng wants to merge 1 commit intoelectron:mainfrom
bglgwyng:feat/bundle-command

Conversation

@bglgwyng
Copy link

Add a standalone bundle command that runs only the bundling step (generateAssets + prePackage hooks) without invoking @electron/packager. This ensures the same webpack/vite config is used as package while allowing users to produce bundle output independently.

  • I have read the contribution documentation for this project.
  • I agree to follow the code of conduct that this project follows, as appropriate.
  • The changes are appropriately documented (if applicable).
  • The changes have sufficient test coverage (if applicable).
  • The testsuite passes successfully on my local machine (if applicable).

Summarize your changes:

Add a standalone `bundle` command that runs only the bundling step
(generateAssets + prePackage hooks) without invoking @electron/packager.
This ensures the same webpack/vite config is used as `package` while
allowing users to produce bundle output independently.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@bglgwyng bglgwyng requested a review from a team as a code owner March 13, 2026 07:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant