【文件属性】:
文件名称:rollup-plugin-browsersync:通过浏览器同步服务您的捆绑包
文件大小:85KB
文件格式:ZIP
更新时间:2021-05-01 07:35:25
JavaScript
汇总插件浏览器同步
通过浏览器同步服务您的捆绑包
安装
npm install --save-dev rollup-plugin-browsersync
用法
// rollup.config.js
import browsersync from 'rollup-plugin-browsersync'
export default {
input : 'entry.js' ,
output : {
file : 'bundle.js'
} ,
plugins : [
browsersync ( { server : 'dist' } )
]
}
选项
请参见。
默认:
{
server : '.'
}
贡献
非常欢迎您提供意见和反馈。
【文件预览】:
rollup-plugin-browsersync-master
----.github()
--------FUNDING.yml(20B)
--------workflows()
----yarn.lock(198KB)
----LICENSE(1KB)
----test()
--------index.html(322B)
--------rollup.config.js(301B)
--------test.js(1KB)
--------index.js(52B)
----README.md(870B)
----CODE_OF_CONDUCT.md(3KB)
----.gitignore(113B)
----index.js(382B)
----package.json(882B)