Closed Ele-Lee closed 4 years ago
看报错应该是写死 .umi 。
看报错应该是写死 .umi 。
请问”应该是写死.umi“什么意思呢。别人拉下来,src目录下是没有.umi系列文件夹的,这个时候build会报这种错,有什么好的解决办法吗。别人来我代码,不能不git ingnore /umi吧
@lei3536 不是你的问题,应该是 qiankun 插件的问题。
@lei3536 @umijs/plugin-qiankun 2.0.6
现在解决了吗
What happens?
我本地dev开完之后,本地build打包没有问题。 推到服务器构建就出了问题。 初步判断。如果不dev一下,直接打包会报错。 如果不dev一下,src/.umi就会不存在,直接build就会出问题,会生成src/.umi和src/.umi-production
报错信息如下
最小可复现仓库
https://github.com/lei3536/qiankunSonApp
复现步骤,错误日志以及相关配置
相关环境信息