安装依赖 npm i 修改打包的目标(index.json) [ "example", "example2" ] 构建源码(打包为文件夹) npm run build-source 构建压缩文件(tar) npm run build