Skip to content

Commit

Permalink
chore: fix build of x
Browse files Browse the repository at this point in the history
  • Loading branch information
zombieJ committed Aug 19, 2024
1 parent 14ee166 commit 995b562
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/getWebpackConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function getWebpackConfig(modules) {
]);

// Other package
if (pkg.name !== 'antd') {
if (pkg.name !== 'antd' && pkg.name !== '@ant-design/x') {
babelConfig.plugins.push([
resolve('babel-plugin-import'),
{
Expand Down

0 comments on commit 995b562

Please sign in to comment.