{"id":22753286,"url":"https://github.com/svrxjs/svrx-plugin-webpack","last_synced_at":"2026-05-16T08:38:00.792Z","repository":{"id":54092006,"uuid":"197141659","full_name":"svrxjs/svrx-plugin-webpack","owner":"svrxjs","description":"svrx plugin for webpack","archived":false,"fork":false,"pushed_at":"2021-03-09T13:44:24.000Z","size":437,"stargazers_count":1,"open_issues_count":8,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-30T07:18:24.076Z","etag":null,"topics":["svrx","svrx-plugin","webpack"],"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/svrxjs.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":"2019-07-16T07:18:46.000Z","updated_at":"2021-03-24T12:26:27.000Z","dependencies_parsed_at":"2022-08-13T06:40:34.251Z","dependency_job_id":null,"html_url":"https://github.com/svrxjs/svrx-plugin-webpack","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/svrxjs/svrx-plugin-webpack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svrxjs%2Fsvrx-plugin-webpack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svrxjs%2Fsvrx-plugin-webpack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svrxjs%2Fsvrx-plugin-webpack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svrxjs%2Fsvrx-plugin-webpack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/svrxjs","download_url":"https://codeload.github.com/svrxjs/svrx-plugin-webpack/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svrxjs%2Fsvrx-plugin-webpack/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267985407,"owners_count":24176468,"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","status":"online","status_checked_at":"2025-07-31T02:00:08.723Z","response_time":66,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["svrx","svrx-plugin","webpack"],"created_at":"2024-12-11T06:10:03.699Z","updated_at":"2026-05-16T08:38:00.729Z","avatar_url":"https://github.com/svrxjs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# svrx-plugin-webpack\n\n[![svrx](https://img.shields.io/badge/svrx-plugin-%23ff69b4?style=flat-square)](https://svrx.io/)\n[![npm](https://img.shields.io/npm/v/svrx-plugin-webpack.svg?style=flat-square)](https://www.npmjs.com/package/svrx-plugin-webpack)\n\n[svrx](https://github.com/x-orpheus/svrx) plugin for [webpack](https://webpack.js.org/)\n\n## Usage\n\n\u003e Please make sure that you have installed [svrx](https://svrx.io/) already.\n\n\n### Via CLI\n\n```bash\nsvrx -p \"webpack\"\n```\n\n### Via API\n\n```js\nconst svrx = require('@svrx/svrx');\n\nsvrx({ plugins: ['webpack'] }).start();\n```\n\n**with options**\n\n```js\n\nsvrx({\n    plugins: [{\n        name: 'webpack',\n        options: {\n            hot: false\n        }\n    }]\n}).start();\n```\n\n## Options\n\n#### **config \\[String|Object]:** \n\nwebpack config file or object, default is `$root/webpack.config.js` (`$root` means `options.root`)\n\n#### **hot \\[Boolean]:** \n\nEnable webpack Hot Module Replacement feature, default is `true`\n\n#### **client \\[Object]:**\n\noptions can be passed to the client by adding querystring parameters to the path in the webpack config\n\nsee [webpack-hot-middleware#client](https://github.com/webpack-contrib/webpack-hot-middleware#client) for detail\n\nfor example, options `{timeout: 3000}` will been encode as `webpack-hot-middleware/client?timeout=3000` \n\n#### **path \\[String]:**\n\nThe path which the middleware will serve the event stream on, default is `/__webpack_hmr`\n\n\n## Example\n\n- [simple](https://github.com/x-orpheus/svrx-plugin-webpack/tree/master/example/simple)\n- [react-loader](https://github.com/x-orpheus/svrx-plugin-webpack/tree/master/example/react-loader)\n- [integrated-with-create-react-app](https://github.com/x-orpheus/svrx-plugin-webpack/tree/master/example/create-react-app)\n\n## License\n\nMIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsvrxjs%2Fsvrx-plugin-webpack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsvrxjs%2Fsvrx-plugin-webpack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsvrxjs%2Fsvrx-plugin-webpack/lists"}