Webpack + Typescript
Create a new Electron app with webpack and TypeScript.
To get you up and running as fast as possible with TypeScript and webpack, we provide a template that makes use of the @electron-forge/plugin-webpack module with sane TypeScript configuration defaults.
npx create-electron-app@latest my-new-app --template=webpack-typescriptOnce 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 updated
Was this helpful?