Electron Forge
  • Getting Started
  • Importing an Existing Project
  • CLI
  • Core Concepts
    • Why Electron Forge?
    • Build Lifecycle
  • Configuration
    • Configuration Overview
    • TypeScript Setup
    • Plugins
      • Webpack Plugin
      • Vite Plugin
      • Electronegativity Plugin
      • Auto Unpack Native Modules Plugin
      • Local Electron Plugin
      • Fuses Plugin
    • Makers
      • AppX
      • deb
      • DMG
      • Flatpak
      • pkg
      • RPM
      • Snapcraft
      • Squirrel.Windows
      • WiX MSI
      • ZIP
    • Publishers
      • Bitbucket
      • Electron Release Server
      • GitHub
      • Google Cloud Storage
      • Nucleus
      • S3
      • Snapcraft
    • Hooks
  • Built-in Templates
    • Webpack
    • Webpack + Typescript
    • Vite
    • Vite + TypeScript
  • Guides
    • Code Signing
      • Signing a Windows app
      • Signing a macOS app
    • Custom App Icons
    • Framework Integration
      • React
      • React with TypeScript
      • Vue 3
    • Developing with WSL
  • Advanced
    • Auto Update
    • Debugging
    • Extending Electron Forge
      • Writing Plugins
      • Writing Templates
      • Writing Makers
      • Writing Publishers
    • API Docs
Powered by GitBook
On this page
  • Bundler plugins
  • Utility plugins

Was this helpful?

Edit on GitHub
  1. Configuration

Plugins

Modules to extend Forge's core functionality

PreviousTypeScript SetupNextWebpack Plugin

Last updated 4 months ago

Was this helpful?

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 command in development.

If you want to write your own Forge plugin, check out the Writing Plugins guide.

Bundler plugins

Utility plugins

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

Build your Electron app with webpack

Build your Electron app with Vite

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.

Electronegativity Plugin
Webpack Plugin
Vite Plugin
Auto Unpack Native Modules Plugin
Local Electron Plugin
Fuses Plugin
Start