umi3 upgrade to umi4, got ' please check this file esm format' #11646
-
I want upgrade the project https://github.com/zuiidea/antd-admin from umi3 to umi4, but got some errors like:
Here is my
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 7 replies
-
I found the reason is use
But I still don't know how to solve it. |
Beta Was this translation helpful? Give feedback.
-
在 umi 4 中,使用 jsx 语法的文件必须以 |
Beta Was this translation helpful? Give feedback.
-
我查了一下源码,应该是这个转换的问题,是不是我没有配置正确的loader?
|
Beta Was this translation helpful? Give feedback.
-
同样的文件,我注释了@connect这一行就不报错了 |
Beta Was this translation helpful? Give feedback.
计划在 #11668 中修复。