rollup-plugin-browsersync

1.3.3 • Public • Published

rollup-plugin-browsersync

Serve your bundle via Browser Sync

npm version Build

Installation

npm install --save-dev rollup-plugin-browsersync

Usage

// 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.

By default:

{
    server: '.'
}

Contributing

Contributions and feedback are very welcome.

/rollup-plugin-browsersync/

    Package Sidebar

    Install

    npm i rollup-plugin-browsersync

    Weekly Downloads

    2,966

    Version

    1.3.3

    License

    MIT

    Unpacked Size

    8.68 kB

    Total Files

    11

    Last publish

    Collaborators

    • 4lejandrito