Skip to content

Latest commit

 

History

History

plugins

description
Modules to extend Forge's core functionality

Plugins

Electron Forge has a plugin system which allows you to extend its core functionality.

By default, Forge takes a vanilla JS application and packages, makes and publishes it (see the build-lifecycle.md document for more details). Plugins can execute custom logic during any of the Forge hooks.md during the build process, and can also override the #start command in development.

{% hint style="info" %} If you want to write your own Forge plugin, check out the writing-plugins.md guide. {% endhint %}

Bundler plugins

webpack.mdBuild your Electron app with webpackwebpack.mdwebpack.md
vite.mdBuild your Electron app with Vitevite.mdvite.md

Utility plugins

auto-unpack-natives.mdUnpack native Node.js modules from your Forge app's ASAR archive.auto-unpack-natives.md
local-electron.mdIntegrate a local build of Electron into your Forge app.local-electron.md
fuses.mdToggle Electron functionality at package-time with Electron Fuses.fuses.md
electronegativity.mdCheck for misconfigurations and security anti-patterns with the Electronegativity tool.