Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@breezr/plugin-rollup

alibaba-cloud-breezr2MIT1.0.0-alpha.1TypeScript support: included

breezr plugin for rollup

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方式