Skip to content

easily integrate browser-sync into your rollup development flow 🌊

License

Notifications You must be signed in to change notification settings

robinloeffel/rollup-plugin-browser-sync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@rbnlffl/rollup-plugin-browser-sync

latest version on npm npm downloads a month browser-sync dep required node version package license

easily integrate browser-sync into your rollup development flow 🌊

install

yarn install --dev @rbnlffl/rollup-plugin-browser-sync

use

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