1.0.3 • Published 3 years ago

@netease-ehr/button v1.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

安装依赖

yarn add umi-library

执行

npx umi-lib build --esm

npx umi-lib build --esm --cjs
npx umi-lib build --esm babel --cjs babel
npx umi-lib build --esm target node npx umi-lib build --umd foo

-- esm 浏览器使用,支持tree sharking -- cjs node 使用 es5的模块系统 -- babel 目录到目录的编译方式(制作编译) -- target node -- umd 所有的依赖通过script 引入