【文件属性】:
文件名称:rollup::sushi:汇总配置以获得最佳包装捆绑体验
文件大小:53.51MB
文件格式:ZIP
更新时间:2021-03-19 16:37:58
rollup rollup-plugin rollup-config alabs azimutlabs
汇总配置可提供最佳打包体验
概述
此存储库提供了将用作主库捆绑所需的一切:插件,配置和实用程序,以与之配合使用。
只需导入并调用:
// rollup.config.js
import babel from '@azimutlabs/rollup-config-babel' ;
// You can pass '__dirname' if 'rollup.config.js' file is placed at the root of the library dir.
export default babel ( ) ( 'path/to/library' ) ;
...并且输出是单个RollupOptions对象:
export default {
/* ...other RollupOptions */
input : '/root/project/src/index.j