{"id":16579530,"url":"https://github.com/hepengwei/auto-load-chrome-ext-webpack-plugin","last_synced_at":"2025-10-05T20:38:48.800Z","repository":{"id":53778152,"uuid":"519396633","full_name":"hepengwei/auto-load-chrome-ext-webpack-plugin","owner":"hepengwei","description":"🌈 一款将打包后的Chrome插件自动化加载到浏览器的webpack插件。","archived":false,"fork":false,"pushed_at":"2022-12-22T07:10:59.000Z","size":8,"stargazers_count":6,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-01T22:42:41.607Z","etag":null,"topics":["chrome","chrome-extension","plugin","webpack","webpack-plugin"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hepengwei.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-07-30T02:13:06.000Z","updated_at":"2023-07-15T06:26:02.000Z","dependencies_parsed_at":"2023-01-30T05:50:14.616Z","dependency_job_id":null,"html_url":"https://github.com/hepengwei/auto-load-chrome-ext-webpack-plugin","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/hepengwei%2Fauto-load-chrome-ext-webpack-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hepengwei%2Fauto-load-chrome-ext-webpack-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hepengwei%2Fauto-load-chrome-ext-webpack-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hepengwei%2Fauto-load-chrome-ext-webpack-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hepengwei","download_url":"https://codeload.github.com/hepengwei/auto-load-chrome-ext-webpack-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238777442,"owners_count":19528813,"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","chrome-extension","plugin","webpack","webpack-plugin"],"created_at":"2024-10-11T22:18:18.006Z","updated_at":"2025-10-05T20:38:43.736Z","avatar_url":"https://github.com/hepengwei.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eauto-load-chrome-ext-webpack-plugin\u003c/h1\u003e\n\u003cdiv align=\"center\"\u003e\n一款将打包后的Chrome插件自动化加载到浏览器的webpack插件。\n\u003c/div\u003e\n\n## 使用说明\n\n安装\n\n```\nnpm i auto-load-chrome-ext-webpack-plugin\n```\n\n使用示例\n\n```\nconst AutoLoadChromeExtPlugin = require(\"auto-load-chrome-ext-webpack-plugin\");\n\n. . .\n\nplugins: [\n    isEnvProduction \u0026\u0026 new AutoLoadChromeExtPlugin({ \n        targetDir: \"C:\\\\Users\\\\XXX\\\\AppData\\\\Local\\\\Google\\\\Chrome\\\\User Data\\\\Default\\\\Extensions\\\\myChromeExtension\",\n        autoClickSelectLocation:\n            \"D:\\\\myProject\\\\chrome-extension-react-demo\\\\config\\\\autoClickSelect.exe\",\n        chromedriverLocation: \"C:\\\\Program Files\\\\Google\\\\Chrome\\\\Application\\\\chromedriver.exe\",\n    }),\n]\n\n. . .\n```\n\n参数说明\n* targetDir 是你本地chrome浏览器存放插件位置的绝对路径，先到Extensions文件夹下创建一个myChromeExtension文件夹，然后将XXX改为你本地的真实用户名即可。\n* autoClickSelectLocation 是autoClickSelect.exe文件所在的绝对路径。\n* chromedriverLocation 是chromedriver.exe文件所在的绝对路径，默认为C:\\Program Files\\Google\\Chrome\\Application\\chromedriver.exe，如果位置与之一致，可以不传该参数。\n\n\n[详细文档](https://juejin.cn/post/7134991167095062565)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhepengwei%2Fauto-load-chrome-ext-webpack-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhepengwei%2Fauto-load-chrome-ext-webpack-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhepengwei%2Fauto-load-chrome-ext-webpack-plugin/lists"}