Skip to content
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

fix(makers): config can also be a function #180

Merged
merged 4 commits into from
Jul 4, 2024

Conversation

instilled
Copy link
Contributor

A maker's config key can be a function but that is not well documented. This adds the necessary information to the forge.config.js example in the makers section.

instilled and others added 3 commits June 6, 2024 10:27
A maker's config key can be a function but that is not well documented. This adds the necessary information to the `forge.config.js` example in the makers section.
@erickzhao erickzhao changed the title Updated README.md to add an example that a maker's config key can also be a function returning a config. fix(makers): config can also be a function Jul 4, 2024
Copy link
Member

@erickzhao erickzhao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @instilled. I took a peek at the diff and made a few changes:

  • Removed outdated comment about needing config.forge in package.json.
  • Moved forge.config.js up in the tabs because we use that by default nowadays.
  • Made the example you provided into a second maker rather than a code comment.

@erickzhao erickzhao merged commit 0e45038 into electron-forge:v6 Jul 4, 2024
3 checks passed
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.

2 participants