0.0.3 • Published 3 years ago
@rbnlffl/rollup-plugin-browser-sync v0.0.3
@rbnlffl/rollup-plugin-browser-sync
easily integrate
browser-syncinto yourrollupdevelopment flow 🌊
install
yarn install --dev @rbnlffl/rollup-plugin-browser-syncuse
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