# rollup-plugin-browsersync

> Serve your rolled up bundle via browsersync

Latest version **1.3.3** (published 2021-05-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install rollup-plugin-browsersync
pnpm add rollup-plugin-browsersync
yarn add rollup-plugin-browsersync
bun add rollup-plugin-browsersync
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.3.3 |
| Published | 2021-05-26 |
| First published | 2017-08-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 8.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 19 |
| Author | Alejandro Tardín |
| Maintainers | 4lejandrito |
| Keywords | rollup, rollup-plugin, browsersync, dev-server, static, serve |

## Links

- npm: https://www.npmjs.com/package/rollup-plugin-browsersync
- Repository: https://github.com/4lejandrito/rollup-plugin-browsersync
- Issues: https://github.com/4lejandrito/rollup-plugin-browsersync/issues
- npm.io page: https://npm.io/package/rollup-plugin-browsersync

## Dependencies (1)

- [browser-sync](https://npm.io/package/browser-sync.md) ^2.26.14

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 1.3.3 (latest) — 2021-05-26
- 1.3.0-alpha.1 (next) — 2020-10-09
- 1.3.2 — 2021-05-26
- 1.3.1 — 2020-10-10
- 1.3.0 — 2020-10-09
- 1.2.0 — 2020-10-09
- 1.1.0 — 2019-11-27
- 1.0.0 — 2018-12-30
- 0.2.6 — 2017-10-22
- 0.2.5 — 2017-10-22
- 0.2.4 — 2017-08-14
- 0.2.3 — 2017-08-14
- 0.2.2 — 2017-08-14
- 0.2.1 — 2017-08-14
- 0.2.0 — 2017-08-14
- … 1 more at https://npm.io/package/rollup-plugin-browsersync/versions

## README

# rollup-plugin-browsersync
Serve your bundle via Browser Sync

[![npm version](https://badge.fury.io/js/rollup-plugin-browsersync.svg)](https://badge.fury.io/js/rollup-plugin-browsersync)
[![Build](https://github.com/4lejandrito/rollup-plugin-browsersync/workflows/Build/badge.svg)](https://github.com/4lejandrito/rollup-plugin-browsersync/actions?query=workflow%3ABuild+branch%3Amaster)

## Installation
```
npm install --save-dev rollup-plugin-browsersync
```

## Usage
```js
// rollup.config.js
import browsersync from 'rollup-plugin-browsersync'

export default {
  input: 'entry.js',
  output: {
    file: 'bundle.js'
  },
  plugins: [
    browsersync({server: 'dist'})
  ]
}
```

### Options

See [Browsersync options](https://browsersync.io/docs/options).

By default:
```js
{
    server: '.'
}
```

## Contributing

Contributions and feedback are very welcome.

---
_Source: https://npm.io/package/rollup-plugin-browsersync · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
