Webpack
Create a new Electron app with Webpack
To get you up and running as fast as possible with the webpack bundler, we provide a template that makes use of the
@electron-forge/plugin-webpack
module, plus some preset webpack configuration options. This is by far the quickest way to getting a working webpack setup with Electron.Yarn
npm
yarn create electron-app my-new-app --template=webpack
npm init [email protected] my-new-app -- --template=webpack
Once you've initialized the template, you'll need to run
npm start
in the generated directory. See the Webpack Plugin documentation for Electron Forge-specific configuration options.Last modified 6mo ago