请问在使用umimax时,为什么使用了装饰器的代码无法被esbuild编译 #12425
Unanswered
mazhenjie233
asked this question in
Q&A
Replies: 3 comments 7 replies
-
插件与ts配置都加上了,强制升级esbuild为最新版本后转为babel与babel-loader报错 |
Beta Was this translation helpful? Give feedback.
5 replies
-
给个最小复现吧,看你的报错是说语法有错误,不是装饰器的问题吧。 |
Beta Was this translation helpful? Give feedback.
2 replies
-
在 #12426 跟进,目测短时间内无法解决,请暂时避免这种 accessor 用法吧,最新版 umi 只用装饰器是可以的。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Beta Was this translation helpful? Give feedback.
All reactions