alibaba / rax

🐰 Rax is a progressive framework for building universal application. https://rax.js.org
Other
8k stars 627 forks source link

使用yarn workspace进行微信小程序组件开发,在start命令下会报错无法找到依赖 #2330

Closed Awen-hub closed 2 years ago

Awen-hub commented 2 years ago

⌨️

Where is the bug from?

Rax Components

Minimal code and steps to reproduce the bug

Bug复现仓库

Current and expected behavior

开发者工具报错找不到wx-axios依赖 微信图片_20220310205211

从编译结果来看,rax是把依赖直接拷贝进了build目录,和以往打包进Target/npm目录的行为不一致 微信图片_20220310205714

Environment

build.json

No response

Possible solution

之前提过关于pnpm依赖使用失败的issue,怀疑这个和pnpm类似

2315

Additional context

No response