Skip to content

Commit

Permalink
fix(template): add missing config in plugin (#3253)
Browse files Browse the repository at this point in the history
  • Loading branch information
erickzhao committed Jun 15, 2023
1 parent 7a6d499 commit 68d0793
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/plugin/auto-unpack-natives/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ This plugin will automatically add all native Node modules in your node_modules
module.exports = {
plugins: [
{
name: '@electron-forge/plugin-auto-unpack-natives'
name: '@electron-forge/plugin-auto-unpack-natives',
config: {}
}
]
};
Expand Down
1 change: 1 addition & 0 deletions packages/template/base/tmpl/forge.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ module.exports = {
plugins: [
{
name: '@electron-forge/plugin-auto-unpack-natives',
config: {},
},
],
};
1 change: 1 addition & 0 deletions packages/template/webpack/tmpl/forge.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ module.exports = {
plugins: [
{
name: '@electron-forge/plugin-auto-unpack-natives',
config: {},
},
{
name: '@electron-forge/plugin-webpack',
Expand Down

0 comments on commit 68d0793

Please sign in to comment.