@breezr/plugin-rollup
v1.0.0-alpha.1
Published
breezr plugin for rollup
Downloads
3
Readme
Introduction
基于breezr的rollup plugin,使breezr具备通过rollup方式打包的能力。
相关链接
调用方式
npm run build -- --rollup
普通打包npm run build -- --rollup --watch
开启watch
配置
- 通用breezr.config.js 配置
- 自定义
rollup.config.js
配置文件
注意事项
- 在使用自定义rollup配置文件时,不可像官方文档介绍那样使用
import
,export
方式导入、导出依赖,需改用传统的require
,module.exports
方式