janus编译前端模块
钢翼
编程
git clone https://github.com/meetecho/janus-gateway.git
# 编译旧版本,所以切换了旧分支
git checkout v0.11.4
# 切换到npm文件夹
cd npm
# 安装依赖
yarn install
# 打包
yarn rollup --f es --o janus.js
执行完成后,将npm文件夹下的janus.d.ts和janus.js拷贝到你的目标项目下。