{"id":19381823,"url":"https://github.com/ctechhindi/webpack-with-chrome-extension-v3","last_synced_at":"2025-04-23T20:32:02.108Z","repository":{"id":118143788,"uuid":"393349076","full_name":"ctechhindi/Webpack-with-Chrome-Extension-V3","owner":"ctechhindi","description":"Webpack with Chrome Extension V3","archived":false,"fork":false,"pushed_at":"2021-08-06T11:47:41.000Z","size":92,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-02T19:47:03.868Z","etag":null,"topics":["chrome-extension","chrome-extension-v3","nodejs","webpack"],"latest_commit_sha":null,"homepage":"https://ctechhindi.in/","language":"JavaScript","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/ctechhindi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-08-06T10:58:08.000Z","updated_at":"2022-04-03T12:33:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"62a38451-8e3d-4311-976c-b067cac462b9","html_url":"https://github.com/ctechhindi/Webpack-with-Chrome-Extension-V3","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctechhindi%2FWebpack-with-Chrome-Extension-V3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctechhindi%2FWebpack-with-Chrome-Extension-V3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctechhindi%2FWebpack-with-Chrome-Extension-V3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctechhindi%2FWebpack-with-Chrome-Extension-V3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ctechhindi","download_url":"https://codeload.github.com/ctechhindi/Webpack-with-Chrome-Extension-V3/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250509737,"owners_count":21442486,"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":["chrome-extension","chrome-extension-v3","nodejs","webpack"],"created_at":"2024-11-10T09:18:29.743Z","updated_at":"2025-04-23T20:32:02.103Z","avatar_url":"https://github.com/ctechhindi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Webpack with Chrome Extension V3\n\n## Installation\n\nIn the package root directory, run the `npm init` command.\n\n```bash\nnpm init\n```\n\n### Install NPM Package\n\n#### **Webpack**\n\n* `Webpack` is a module bundler.\n\n* Install [Webpack](https://www.npmjs.com/package/webpack) with npm:\n\n  ```bash\n  npm install --save-dev webpack\n  npm install --save-dev webpack-cli\n  npm install --save-dev webpack-dev-server\n  npm install --save-dev clean-webpack-plugin\n  npm install --save-dev copy-webpack-plugin\n  npm install --save-dev html-webpack-plugin\n  ```\n\n* Read Webpack [Guides](https://webpack.js.org/guides/development/)\n\n#### Asset Management\n\n```bash\nnpm install --save-dev style-loader css-loader file-loader html-loader\nnpm install sass-loader sass webpack --save-dev\nnpm install babel-loader babel-minify --save-dev\nnpm i -D source-map-loader\n```\n\n#### Others\n\n```node\nnpm install --save-dev fs-extra\n```\n\n#### Create/Edit Files in the Project\n\n1. Edit `package.json`\n  ```json\n  \"scripts\": {\n    \"start\": \"node utils/webserver.js\",\n    \"watch\": \"webpack --watch\",\n    \"watch:dev\": \"webpack --watch --mode development\",\n    \"build\": \"webpack\",\n  },\n  ```\n2. Create `webpack.config.js`\n\n#### Test/Run Webpack\n\n```\nnpm run start\nnpm run watch\nnpm run watch:dev\nnpm run build\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fctechhindi%2Fwebpack-with-chrome-extension-v3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fctechhindi%2Fwebpack-with-chrome-extension-v3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fctechhindi%2Fwebpack-with-chrome-extension-v3/lists"}