From 995b5624fba7183435259a04dd670f66a7c9be2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8C=E8=B4=A7=E6=9C=BA=E5=99=A8=E4=BA=BA?= Date: Mon, 19 Aug 2024 17:40:45 +0800 Subject: [PATCH] chore: fix build of x --- lib/getWebpackConfig.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/getWebpackConfig.js b/lib/getWebpackConfig.js index 7ba86c700..3346006ab 100644 --- a/lib/getWebpackConfig.js +++ b/lib/getWebpackConfig.js @@ -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'), {