{"id":31913112,"url":"https://github.com/rinti/webpack-browser-sync-inject-plugin","last_synced_at":"2026-05-15T13:02:00.726Z","repository":{"id":75256238,"uuid":"108734509","full_name":"rinti/webpack-browser-sync-inject-plugin","owner":"rinti","description":"Auto inject css with browse sync and webpack","archived":false,"fork":false,"pushed_at":"2017-11-01T13:07:49.000Z","size":36,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-22T02:58:10.356Z","etag":null,"topics":["browser-sync","browsersync","plugin","webpack"],"latest_commit_sha":null,"homepage":null,"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/rinti.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2017-10-29T12:59:16.000Z","updated_at":"2017-11-01T13:45:34.000Z","dependencies_parsed_at":"2023-06-05T22:04:10.913Z","dependency_job_id":null,"html_url":"https://github.com/rinti/webpack-browser-sync-inject-plugin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rinti/webpack-browser-sync-inject-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rinti%2Fwebpack-browser-sync-inject-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rinti%2Fwebpack-browser-sync-inject-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rinti%2Fwebpack-browser-sync-inject-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rinti%2Fwebpack-browser-sync-inject-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rinti","download_url":"https://codeload.github.com/rinti/webpack-browser-sync-inject-plugin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rinti%2Fwebpack-browser-sync-inject-plugin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33067476,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T11:35:32.926Z","status":"ssl_error","status_checked_at":"2026-05-15T11:35:31.362Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["browser-sync","browsersync","plugin","webpack"],"created_at":"2025-10-13T18:27:27.887Z","updated_at":"2026-05-15T13:02:00.721Z","avatar_url":"https://github.com/rinti.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Webpack Browser Sync Inject Plugin\n\nThere's already the excellent, more mature [browser-sync-webpack-plugin](https://github.com/Va1/browser-sync-webpack-plugin).\nThat plugin does however default to always reloading the browser - and that's\nsuboptimal when working with stylesheets. There's a pending PR to fix this.\nIn the meantime this plugin might save your day!\n\nAt the moment this plugin is pretty specialized for my use case, if you\nwant to make it more generalized, PR:s are welcome!\n\n## Install\n```bash\nnpm install --save-dev webpack-browser-sync-inject-plugin\n```\n\n## Example usage\n\nFirst argument to the plugin is reserved for this plugins options,\nSecond argument is options to pass to browser sync.\n\n```js\n  new BrowserSyncInjectPlugin({\n    watchForInjection: ['style'] // style is a defined in your webpack config\n  }, {\n    host: 'localhost',\n    port: 3000,\n    proxy: 'http://mysite.dev:8085/'\n  })\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frinti%2Fwebpack-browser-sync-inject-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frinti%2Fwebpack-browser-sync-inject-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frinti%2Fwebpack-browser-sync-inject-plugin/lists"}