Unverified Commit ce69574c authored by Tim Neutkens's avatar Tim Neutkens Committed by GitHub

Add default modularizeImports for antd / ant-design/icons / ahooks (#52031)

Follow up to #50900.

Based on https://github.com/vercel/next.js/issues/48748#issuecomment-1608783867
parent bd24a8eb
...@@ -713,6 +713,15 @@ function assignDefaults( ...@@ -713,6 +713,15 @@ function assignDefaults(
'react-bootstrap': { 'react-bootstrap': {
transform: 'react-bootstrap/{{member}}', transform: 'react-bootstrap/{{member}}',
}, },
antd: {
transform: 'antd/es/{{member}}',
},
ahooks: {
transform: 'ahooks/es/{{member}}',
},
'@ant-design/icons': {
transform: '@ant-design/icons/{{member}}',
},
} }
return result return result
......
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