@breezr/plugin-rollup

breezr plugin for rollup

Usage no npm install needed!

<script type="module">
  import breezrPluginRollup from 'https://cdn.skypack.dev/@breezr/plugin-rollup';
</script>

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