umi开启mfsu和webpack5报错:does not exist in container. while loading

2023-08-25 13:45:22 浏览数 (2)

umi开启 mfsu 和 webpack5 后报错:load component failed Error: Module "./@ant-design/pro-card" does not exist in container. while loading "./@ant-design/pro-card" from webpack/container/reference/mf

解决方法

估计是 mfsu 的问题,可以先清理掉缓存然后重启项目。

缓存存在 src/.umi 文件夹中

未经允许不得转载:w3h5-Web前端开发资源网 » umi开启mfsu和webpack5报错:does not exist in container. while loading

0 人点赞