Unverified Commit 2e82ca81 authored by MadCcc's avatar MadCcc Committed by GitHub

fix: import antd from es in modularizeImports (#57968)

### Fixing a bug

Currently any imports from antd will be replaced with `lib`, which will cause context not the same.

Ref: https://github.com/ant-design/ant-design/issues/45567
parent a01beafd
......@@ -792,7 +792,7 @@ function assignDefaults(
},
},
antd: {
transform: 'antd/lib/{{kebabCase member}}',
transform: 'antd/es/{{kebabCase member}}',
},
ahooks: {
transform: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment