rollup-plugin-browsersync

rollup-plugin-browsersync JS library on GitHub rollup-plugin-browsersync JS library on npm Download rollup-plugin-browsersync JS library

Serve your rolled up bundle via browsersync

Version 1.3.3 License MIT
rollup-plugin-browsersync has no homepage
rollup-plugin-browsersync JS library on GitHub
rollup-plugin-browsersync JS library on npm
Download rollup-plugin-browsersync JS library
Keywords
rolluprollup-pluginbrowsersyncdev-serverstaticserve

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.