我按照 https://uniapp.dcloud.io/collocation/package.html 的说明在 package.json
中添加了一个 custom-platform
,使用的 uni-platform 是 mp-weixin
,并设置了自定义条件编译。
在执行 npm run dev:custom custom-platform
和 npm run build:custom custom-platform
时都是没问题的。
但是我想在 npm run test:mp-weixin
运行测试用例时也使用自定义的条件编译,这个该怎么配置呢?
0 个回复