{"_id":"browser-sync-v3-webpack-plugin","_rev":"2-e1bf9aa7f673e8bd55ba95f9b2c2908e","name":"browser-sync-v3-webpack-plugin","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"browser-sync-v3-webpack-plugin","version":"0.1.0","keywords":["webpack","webpack-plugin","browsersync","browser-sync","livereload","serve"],"author":{"name":"Valentyn Barmashyn","email":"barmashyn.val@gmail.com"},"license":"MIT","_id":"browser-sync-v3-webpack-plugin@0.1.0","maintainers":[{"name":"marcantondahmen","email":"npm@marcdahmen.de"}],"homepage":"https://github.com/madbucket/browser-sync-webpack-plugin","bugs":{"url":"https://github.com/madbucket/browser-sync-webpack-plugin/issues"},"dist":{"shasum":"4de0efaa7c3625e7dc91ecc682492b1a61d42056","tarball":"https://registry.npmjs.org/browser-sync-v3-webpack-plugin/-/browser-sync-v3-webpack-plugin-0.1.0.tgz","fileCount":8,"integrity":"sha512-BXWsU9E3ZiY3vu0d+SK4bEex+bJQPrJAVI0u3DjSaBLCb0dCvN6OYYiK5eBsggjCdqjYC4vZ+X9NcnQGsKyFpA==","signatures":[{"sig":"MEYCIQDyhKKfr9vBVN6z+UUUwvRaUy7svmWkHC5zHO7+iPfoZQIhAJ+/Q2cJMOXNLvk+nFs323dm5EAm+eqBNbj8B2ghoUCt","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8414},"main":"index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"gitHead":"b157f68bf575070630aa66c1579ac84d47954f2c","private":false,"_npmUser":{"name":"marcantondahmen","email":"npm@marcdahmen.de"},"repository":{"url":"git+https://github.com/madbucket/browser-sync-webpack-plugin.git","type":"git"},"_npmVersion":"10.2.3","description":"BrowserSync and Webpack integration","directories":{},"lint-staged":{"lib/**/*.js":["standard --fix","git add"]},"_nodeVersion":"18.19.0","dependencies":{"lodash":"^4"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^0.15.0-rc.9","standard":"^11.0.1","lint-staged":"^7.0.0"},"peerDependencies":{"webpack":"^1 || ^2 || ^3 || ^4 || ^5","browser-sync":"^2 || ^3"},"_npmOperationalInternal":{"tmp":"tmp/browser-sync-v3-webpack-plugin_0.1.0_1704642750139_0.03281473523885925","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"browser-sync-v3-webpack-plugin","version":"0.1.1","description":"BrowserSync and Webpack integration","keywords":["webpack","webpack-plugin","browsersync","browser-sync","livereload","serve"],"main":"index.js","dependencies":{"lodash":"^4"},"devDependencies":{"husky":"^0.15.0-rc.9","lint-staged":"^7.0.0","standard":"^11.0.1"},"peerDependencies":{"browser-sync":"^2 || ^3","webpack":"^1 || ^2 || ^3 || ^4 || ^5"},"repository":{"type":"git","url":"git+https://github.com/madbucket/browser-sync-webpack-plugin.git"},"homepage":"https://github.com/madbucket/browser-sync-webpack-plugin","author":{"name":"Valentyn Barmashyn","email":"barmashyn.val@gmail.com"},"license":"MIT","private":false,"lint-staged":{"lib/**/*.js":["standard --fix","git add"]},"husky":{"hooks":{"pre-commit":"lint-staged"}},"gitHead":"42342b76dd146407c8a121bcb5c30f8e2106a336","_id":"browser-sync-v3-webpack-plugin@0.1.1","bugs":{"url":"https://github.com/madbucket/browser-sync-webpack-plugin/issues"},"_nodeVersion":"20.19.6","_npmVersion":"11.7.0","dist":{"integrity":"sha512-42kEd8i9MhftDzPlkj6dRb82lmfEi3vp7ZpuSGdiceCKnCQafRqtu37S8bGPmn0fbzWj7wvkaQ7l+hEFQeDcnA==","shasum":"f60aab254c9602564d97a5609808eb23f4807eea","tarball":"https://registry.npmjs.org/browser-sync-v3-webpack-plugin/-/browser-sync-v3-webpack-plugin-0.1.1.tgz","fileCount":9,"unpackedSize":9161,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/browser-sync-v3-webpack-plugin@0.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCHXtBv7Lgeq/6wmPA85ebTsELVUgbcq6SW7HP2eLc+awIhAKty0onK4fI0JOvASpzS0PlgVxF4RVdoqMeZ4qbp2Klh"}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:6f1fd618-8493-476e-9dd0-63e97921e859"}},"directories":{},"maintainers":[{"name":"marcantondahmen","email":"npm@marcdahmen.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/browser-sync-v3-webpack-plugin_0.1.1_1765479415177_0.8772615786488622"},"_hasShrinkwrap":false}},"time":{"created":"2024-01-07T15:52:30.139Z","modified":"2025-12-11T18:56:55.666Z","0.1.0":"2024-01-07T15:52:30.394Z","0.1.1":"2025-12-11T18:56:55.318Z"},"bugs":{"url":"https://github.com/madbucket/browser-sync-webpack-plugin/issues"},"author":{"name":"Valentyn Barmashyn","email":"barmashyn.val@gmail.com"},"license":"MIT","homepage":"https://github.com/madbucket/browser-sync-webpack-plugin","keywords":["webpack","webpack-plugin","browsersync","browser-sync","livereload","serve"],"repository":{"type":"git","url":"git+https://github.com/madbucket/browser-sync-webpack-plugin.git"},"description":"BrowserSync and Webpack integration","maintainers":[{"name":"marcantondahmen","email":"npm@marcdahmen.de"}],"readme":"> Note that this is a fork of [Va1/browser-sync-webpack-plugin](https://github.com/Va1/browser-sync-webpack-plugin) that supports BrowserSync version 3.\n\n# [BrowserSync](https://browsersync.io/) plugin for [Webpack](https://webpack.js.org/)\n\nEasily use BrowserSync in your Webpack project.\n\n## Install:\n\n```bash\n$ npm install --save-dev browser-sync-webpack-plugin\n```\n\nor\n\n```bash\n$ yarn add --dev browser-sync-webpack-plugin\n```\n\nWith release of 2.0.0 the plugin is expected to be used in Node v4+ environment.\nSupport for Node v3 and lower was dropped, but you can install and use the plugin version of 1.2.0 in older environments.\n\n## Usage:\n\nBrowserSync will start only when you run Webpack in [watch mode](http://webpack.github.io/docs/tutorials/getting-started/#watch-mode):\n\n```bash\n$ webpack --watch\n```\n\n### Basic:\n\nIf you're not using Webpack Dev Server, you can make BrowserSync to serve your project.\nThe setup is pretty easy: just pass the [BrowserSync options](http://www.browsersync.io/docs/options/) to the plugin as the first argument.\n\nIn your `webpack.config.js`:\n\n```javascript\nconst BrowserSyncPlugin = require(\"browser-sync-webpack-plugin\");\n\nmodule.exports = {\n  // ...\n  plugins: [\n    new BrowserSyncPlugin({\n      // browse to http://localhost:3000/ during development,\n      // ./public directory is being served\n      host: \"localhost\",\n      port: 3000,\n      server: { baseDir: [\"public\"] },\n    }),\n  ],\n};\n```\n\n### Advanced:\n\nThe advanced usage is about using [Webpack Dev Server](https://github.com/webpack/webpack-dev-server) with BrowserSync in order to use awesome features of both.\n\nTo achieve this, BrowserSync offers the [proxy](http://www.browsersync.io/docs/options/#option-proxy) option.\nSo, basically, you are about to proxy the output from the Webpack Dev Server through BrowserSync to get the best out of both.\n\nIn your `webpack.config.js`:\n\n```javascript\nconst BrowserSyncPlugin = require(\"browser-sync-webpack-plugin\");\n\nmodule.exports = {\n  // ...\n  plugins: [\n    new BrowserSyncPlugin(\n      // BrowserSync options\n      {\n        // browse to http://localhost:3000/ during development\n        host: \"localhost\",\n        port: 3000,\n        // proxy the Webpack Dev Server endpoint\n        // (which should be serving on http://localhost:3100/)\n        // through BrowserSync\n        proxy: \"http://localhost:3100/\",\n      },\n      // plugin options\n      {\n        // prevent BrowserSync from reloading the page\n        // and let Webpack Dev Server take care of this\n        reload: false,\n      },\n    ),\n  ],\n};\n```\n\n---\n\nOther supported plugin options are:\n\n- `name` - default: `bs-webpack-plugin`, BrowserSync [instance name](http://www.browsersync.io/docs/api/#api-name)\n- `callback` - default: `undefined`, BrowserSync [instance init callback](http://www.browsersync.io/docs/api/#api-cb).\n- `injectCss` - default: `false`, allows BrowserSync to inject changes inplace instead of reloading the page when changed chunks are all CSS files\n\n## Contributing:\n\nFeel free to open issues to propose stuff and participate. Pull requests are also welcome.\n\n## Licence:\n\n[MIT](http://en.wikipedia.org/wiki/MIT_License)\n","readmeFilename":"README.md"}