https://github.com/robinloeffel/rollup-plugin-browser-sync
easily integrate browser-sync into your rollup development flow 🌊
https://github.com/robinloeffel/rollup-plugin-browser-sync
browser-sync browsersync rollup rollup-plugin
Last synced: 10 months ago
JSON representation
easily integrate browser-sync into your rollup development flow 🌊
- Host: GitHub
- URL: https://github.com/robinloeffel/rollup-plugin-browser-sync
- Owner: robinloeffel
- License: mit
- Created: 2023-03-25T13:14:34.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-25T15:36:20.000Z (almost 3 years ago)
- Last Synced: 2025-03-28T18:13:23.391Z (11 months ago)
- Topics: browser-sync, browsersync, rollup, rollup-plugin
- Language: JavaScript
- Homepage:
- Size: 60.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- Changelog: changelog.md
- License: license
Awesome Lists containing this project
README
# @rbnlffl/rollup-plugin-browser-sync
[](https://www.npmjs.com/package/@rbnlffl/rollup-plugin-browser-sync)
[](https://www.npmjs.com/package/@rbnlffl/rollup-plugin-browser-sync)
[](https://github.com/BrowserSync/browser-sync)
[](https://github.com/nodejs/Release)
[](license)
> easily integrate [`browser-sync`](https://github.com/BrowserSync/browser-sync) into your [`rollup`](https://github.com/rollup/rollup) development flow 🌊
## install
```bash
yarn install --dev @rbnlffl/rollup-plugin-browser-sync
```
## use
```typescript
import browserSync from "@rbnlffl/rollup-plugin-browser-sync";
export default {
/* rollup config */
plugins: [
/* rollup plugins */
browserSync({ /* options */ })
]
};
```
_be aware that the plugin only works in watch mode_
## config
all of the supplied configuration options get directly forwarded to `browser-sync`. you can find the official docs here: https://browsersync.io/docs/options
## license
[mit](https://choosealicense.com/licenses/mit)