rollup-plugin-browsersync

Serve your rolled up bundle via browsersync

MIT 16 个版本
安装
npm install rollup-plugin-browsersync
yarn add rollup-plugin-browsersync
pnpm add rollup-plugin-browsersync
bun add rollup-plugin-browsersync
README

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.

版本列表
1.3.3 2021-05-26
1.3.2 2021-05-26
1.3.1 2020-10-10
1.3.0-alpha.1 2020-10-09
1.3.0 2020-10-09
1.2.0 2020-10-09
1.1.0 2019-11-27
1.0.0 2018-12-30
0.2.6 2017-10-22
0.2.5 2017-10-22
0.2.4 2017-08-14
0.2.3 2017-08-14
0.2.2 2017-08-14
0.2.1 2017-08-14
0.2.0 2017-08-14
0.1.0 2017-08-14