Skip to content
PluginStats

electron-webpack-plugin weekly downloads statistics

By thesbros · npm · Webpack plugins

Webpack plugin to launch Electron.

View on npm Outdated · Oct 26, 2026

electron-webpack-plugin has 34 recorded weekly downloads on npm, an increase of 61.9% over the past 30 days, ranking #2866 of 3,247 tracked listings.

Weekly downloads
34
Official API · Dec 5, 2026
7-day growth
+47.8%
+11 weekly downloads
30-day growth
+61.9%
+13 weekly downloads
90-day growth
+70.0%
+14 weekly downloads
Rank
#2866
▼ 94 in 7 days

About electron-webpack-plugin

electron-webpack-plugin

NPM Badge

Webpack plugin to restart Electron.

Requires a peer dependency of electron.

NOTE: As of version 2.0.0, relaunchPathMatch has changed to test - which is a regex to test the module ID against.

API

new ElectronPlugin(options: object)
options
new ElectronPlugin({
    // if a module ID matches this regex and that module has changed, electron will be restarted
    // *required*
    test: /^.\/src\/browser/,
    // the path to launch electron with
    // *required*
    path: "./output",
    // the command line arguments to launch electron with
    // optional
    args: ["--enable-logging"],
    // the options to pass to child_process.spawn
    // see: https://nodejs.org/api/child_process.html#child_process_child_process_spawnsync_command_args_options
    // optional
    options: {
        env: {NODE_ENV: "development"}
    }
})

Example

With this config, Electron will restart when any module in ./src/browser changes.

const ElectronPlugin = require("electron-webpack-plugin");

module.exports = {
    entry: {
        "browser/index": "./src/browser/index.js",
        "renderer/index": "./src/renderer/index.js",
    },
    output: {
        path: "./output",
        filename: "scripts/[name].js"
    },
    plugins: [
        new ElectronPlugin({
            test: /^.\/src\/browser/,
            path: "output"
        })
    ],
    target: "electron"
};

With webpack-dev-server

You will need to use write-file-webpack-plugin, to allow Electron to access the output path.

You will also need to add the following options:

devServer: {
    // electron will break if client is inlined in main process
    inline: false
}

You will also need to add the dev server client to your renderer entry point, if it is not already:

"renderer/index": [
    "webpack-dev-server/client?http://localhost:3000",
    "./src/scripts/renderer/index.js"
]

This will allow HMR with inline: false.

(replace http://localhost:3000 with whatever your dev server URL is)

Description from the npm listing.

  • electron
  • webpack
  • plugin
  • relaunch
  • restart
  • run
  • webpack-plugin

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

electron-webpack-plugin weekly downloads on npm, last 90 days: 34 weekly downloads as of Dec 5, 2026, +70.0% over 90 days.electron-webpack-pluginWeekly downloads on npm · Last 90 days34downloads / week+70.0% over 90 days010203040506070Sep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
electron-webpack-plugin weekly downloads on npm, last 90 days: 34 weekly downloads as of Dec 5, 2026, +70.0% over 90 days.

7/30/90-day growth

electron-webpack-plugin weekly downloads growth on npm: +47.8% over 7 days, +61.9% over 30 days, +70.0% over 90 days.electron-webpack-pluginWeekly downloads growth on npm34downloads / week now7-day growth+11 weekly downloads+47.8%30-day growth+13 weekly downloads+61.9%90-day growth+14 weekly downloads+70.0%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
electron-webpack-plugin weekly downloads growth on npm: +47.8% over 7 days, +61.9% over 30 days, +70.0% over 90 days.

Ranking history

electron-webpack-plugin npm ranking history: currently #2866 (by weekly downloads).electron-webpack-pluginnpm ranking · by weekly downloads · Last 90 days#2866current rank#500#1000#1500#2000#2500#3000Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 17, 2026 – Dec 6, 2026 · 21 observations · Updated Dec 5, 2026pluginstats.com
electron-webpack-plugin npm ranking history: currently #2866 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 144, #8 (overall #2,868)
All npm: every listing in weekly downloads order

Listing placement

Webpack plugins349 listings · 18 pages · page 14, #4 (overall #264)
Webpack plugins: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (592)
Recent weekly downloads observations for electron-webpack-plugin
Date (UTC)Weekly downloadsChange vs. previous
34-1
35+7
280
28-7
35+18
17-3
20-3
23-2
25-4
29-10
39+3
36+2
34+2
32—

Similar npm Webpack plugins plugins

All 20 electron-webpack-plugin alternatives

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/electron-webpack-plugin. First seen Oct 16, 2026; last successful collection Oct 26, 2026. See the methodology.