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

Templates that add to the plugins config array are broken in beta.68 #2987

Closed
3 tasks done
erickzhao opened this issue Oct 25, 2022 · 1 comment
Closed
3 tasks done

Comments

@erickzhao
Copy link
Member

Pre-flight checklist

  • I have read the contribution documentation for this project.
  • I agree to follow the code of conduct that this project uses.
  • I have searched the issue tracker for a bug that matches the one I want to file, without success.

Electron Forge version

6.0.0-beta.68

Electron version

N/A

Operating system

All

Last known working Electron Forge version

6.0.0-beta.67

Expected behavior

When initializing a new Electron Forge app, I expect the plugins array to be properly configured.

{
  plugins: [{
    name: "@electron-forge/plugin-webpack",
    config: { /**...*/ }
}]

Actual behavior

We still have the old syntax present and it won't work with the latest beta of Forge.

{
  plugins: [[
    "@electron-forge/plugin-webpack",
    { /**...*/ }
  ]]
}

Steps to reproduce

yarn create electron-app --template=webpack

Or use electron-forge init directly.

Additional information

No response

@erickzhao erickzhao changed the title Templates that add to the plugin Templates that add to the plugins config array are broken in beta.68 Oct 25, 2022
@MarshallOfSound
Copy link
Member

Fixed in #2990

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants