Skip to content

4lejandrito/rollup-plugin-browsersync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Serve your bundle via Browser Sync

Resources

License

Code of conduct

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published