Plugins

Modules to extend Forge's core functionality

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 document for more details). Plugins can execute custom logic during any of the Forge Hooks during the build process, and can also override the Start command in development.

Bundler plugins

Build your Electron app with webpack

Build your Electron app with Vite

Utility plugins

Unpack native Node.js modules from your Forge app's ASAR archive.

Integrate a local build of Electron into your Forge app.

Toggle Electron functionality at package-time with Electron Fuses.

Check for misconfigurations and security anti-patterns with the Electronegativity tool.

Last updated

Was this helpful?