{"id":13537216,"url":"https://github.com/electron-userland/electron-webpack","last_synced_at":"2025-05-15T04:05:55.745Z","repository":{"id":22600893,"uuid":"96799155","full_name":"electron-userland/electron-webpack","owner":"electron-userland","description":"Scripts and configurations to compile Electron applications using webpack","archived":false,"fork":false,"pushed_at":"2023-01-06T01:49:26.000Z","size":2864,"stargazers_count":910,"open_issues_count":187,"forks_count":172,"subscribers_count":21,"default_branch":"master","last_synced_at":"2025-05-14T14:59:39.972Z","etag":null,"topics":["electron","electron-webpack","webpack"],"latest_commit_sha":null,"homepage":"https://webpack.electron.build/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/electron-userland.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"custom":"https://www.electron.build/donate"}},"created_at":"2017-07-10T16:33:46.000Z","updated_at":"2025-04-20T14:05:31.000Z","dependencies_parsed_at":"2023-01-13T22:05:26.909Z","dependency_job_id":null,"html_url":"https://github.com/electron-userland/electron-webpack","commit_stats":null,"previous_names":[],"tags_count":52,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/electron-userland%2Felectron-webpack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/electron-userland%2Felectron-webpack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/electron-userland%2Felectron-webpack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/electron-userland%2Felectron-webpack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/electron-userland","download_url":"https://codeload.github.com/electron-userland/electron-webpack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254188328,"owners_count":22029477,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["electron","electron-webpack","webpack"],"created_at":"2024-08-01T09:00:56.414Z","updated_at":"2025-05-15T04:05:50.732Z","avatar_url":"https://github.com/electron-userland.png","language":"TypeScript","funding_links":["https://www.electron.build/donate"],"categories":["TypeScript"],"sub_categories":[],"readme":"# electron-webpack [![npm version](https://img.shields.io/npm/v/electron-webpack.svg)](https://npmjs.org/package/electron-webpack) [![Maintainers Wanted](https://img.shields.io/badge/maintainers-wanted-red.svg)](https://github.com/electron-userland/electron-webpack)\n\n\nProject Status: maintenance mode. **Consider using [Vite](https://github.com/cawa-93/vite-electron-builder) instead of Webpack.**\n\n\u003e Because setting up `webpack` in the `electron` environment shouldn't be difficult.\n\n## Maintainer Needed\nThis project is looking for active maintainers. Feel free to post [here](https://github.com/electron-userland/electron-webpack/issues/428). \n\n## Overview\nModern web development practices today require a lot of setup with things like `webpack` to bundle your code, `babel` for transpiling, `eslint` for linting, and so much more that the list just goes on. Unfortunately when creating `electron` applications, all of that setup just became much more difficult. The primary aim of `electron-webpack` is to eliminate all preliminary setup with one simple install so you can get back to developing your application.\n\n\u003e Why create a module and not a full boilerplate?\n\nIf you've been in the JavaScript world for even a short period of time, you are very aware that things are always changing, and development setup is no exclusion. Putting all development scripts into a single **updatable** module just makes sense. Sure a full featured boilerplate works too, but doing also involves needing to manually update those pesky `webpack` configuration files that some may call *magic* when something new comes out.\n\nHere are some of the awesome features you'll find using `electron-webpack`...\n\n* Detailed [documentation](https://webpack.electron.build)\n* Use of [`webpack`](https://webpack.js.org/) for source code bundling\n* Use of [`webpack-dev-server`](https://github.com/webpack/webpack-dev-server) for development\n* HMR for both `renderer` and `main` processes\n* Use of [`@babel/preset-env`](https://github.com/babel/babel/tree/master/packages/babel-preset-env) that is automatically configured based on your `electron` version\n* Ability to add custom `webpack` loaders, plugins, etc.\n* [Add-ons](https://webpack.electron.build/add-ons) to support items like [TypeScript](http://www.typescriptlang.org/), [Less](http://lesscss.org/), [EJS](http://www.embeddedjs.com/), etc.\n\n## Quick Start\nGet started fast with [electron-webpack-quick-start](https://github.com/electron-userland/electron-webpack-quick-start).\n```bash\n# create a directory of your choice, and copy template using curl\nmkdir my-project \u0026\u0026 cd my-project\ncurl -fsSL https://github.com/electron-userland/electron-webpack-quick-start/archive/master.tar.gz | tar -xz --strip-components 1\n\n# or copy template using git clone\ngit clone https://github.com/electron-userland/electron-webpack-quick-start.git\ncd electron-webpack-quick-start\nrm -rf .git\n\n# install dependencies\nyarn\n```\n\nIf you already have an existing project, or are looking for a custom approach outside of the quick start template, make sure to read over the [Core Concepts](https://webpack.electron.build/core-concepts), [Project Structure](https://webpack.electron.build/project-structure), and [Development](https://webpack.electron.build/development) sections of `electron-webpack`'s documentation.\n\n### Next Steps\nMake sure to take advantage of the detailed [documentation](https://webpack.electron.build) that `electron-webpack` provides. It covers everything from how things work internally, adding custom configurations, and building your application.\n\n### Contributing\nFeel free to grab an issue and fix it or to share your features and improvements - PRs are always welcome!  \nHowever, in order for your contribution to be property included in the automatically generated release notes, please use our [standard format](https://gist.github.com/develar/273e2eb938792cf5f86451fbac2bcd51) for your commit messages.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felectron-userland%2Felectron-webpack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felectron-userland%2Felectron-webpack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felectron-userland%2Felectron-webpack/lists"}