Closed yesmeck closed 2 years ago
:exclamation: No coverage uploaded for pull request base (
master@3a93f5a
). Click here to learn what that means. The diff coverage isn/a
.
@@ Coverage Diff @@
## master #543 +/- ##
=========================================
Coverage ? 94.28%
=========================================
Files ? 1
Lines ? 70
Branches ? 30
=========================================
Hits ? 66
Misses ? 4
Partials ? 0
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 3a93f5a...8cbc7dc. Read the comment docs.
@sorrycc 来看看?
和 https://github.com/ant-design/babel-plugin-import/pull/459 的处理方式一样,丢功能了。换这种方式,内部是不敢直接在框架里直接升的。
改名和顺序的问题,不换方案应该也是有解的。
不行我换个名字发个新包
一个想法,umi 里可以同时使用新旧两个版本,可以先用新版本转换一遍,再用旧版本去兜底 import * as antd from 'antd';
的情况,并显示警告,后面 umi 升大版本再把旧版 babel-plugin-import
下掉。
Breaking change
Default imports and namespaced imports are no longer supported.
Close
245
420
423
344
342
432
436
331
324
311
297
296
286
282
280
239
172