JavaScript add-on for electron-webpack, providing webpack configuration for JavaScript and JSX files in Electron projects. Version 2.4.1 is bundled with electron-webpack, so no separate installation is needed. Part of the electron-webpack ecosystem that simplifies webpack setup for Electron main and renderer processes. Supports custom webpack config functions, static source directory configuration, CSS Modules, and .sass extension. Differentiators: zero-config webpack for Electron with Babel transpilation and optimized production builds using terser-webpack-plugin.
npm install electron-webpack-jsVerified import paths — ran on the pinned version, not inferred.
Demonstrates that electron-webpack-js is automatically included with electron-webpack, so users just need to install the main package.
Use Create React App for Electron or electron-vite.
If you were customizing uglifyjs-webpack-plugin, update your config to use terser-webpack-plugin instead.
Remove electron-webpack-js from your dependencies if you manually added it.
Do not import electron-webpack-js; it is automatically used by electron-webpack.
Ensure custom config function returns a valid webpack configuration or merges with the existing one properly.
No dependency data recorded yet.