Closed Awen-hub closed 2 years ago
Rax Components
Bug复现仓库
开发者工具报错找不到wx-axios依赖
从编译结果来看,rax是把依赖直接拷贝进了build目录,和以往打包进Target/npm目录的行为不一致
No response
之前提过关于pnpm依赖使用失败的issue,怀疑这个和pnpm类似
⌨️
Where is the bug from?
Rax Components
Minimal code and steps to reproduce the bug
Bug复现仓库
Current and expected behavior
开发者工具报错找不到wx-axios依赖![微信图片_20220310205211](https://user-images.githubusercontent.com/45597415/157666140-d6c08bd6-f5eb-4ace-a30a-7cebf6e14627.png)
从编译结果来看,rax是把依赖直接拷贝进了build目录,和以往打包进Target/npm目录的行为不一致![微信图片_20220310205714](https://user-images.githubusercontent.com/45597415/157666793-37f6c56e-71af-4c21-aece-4033e4efc469.png)
Environment
build.json
No response
Possible solution
之前提过关于pnpm依赖使用失败的issue,怀疑这个和pnpm类似
2315
Additional context
No response