diff --git a/web/next.config.js b/web/next.config.js index 8ec605728..f7cb8ce00 100644 --- a/web/next.config.js +++ b/web/next.config.js @@ -74,6 +74,7 @@ module.exports = async phase => { unoptimized: true, }, swcMinify: true, + transpilePackages: [ "antd", "@ant-design", "rc-util", "rc-pagination", "rc-picker", "rc-notification", "rc-tooltip", "rc-tree", "rc-table" ], webpack(config) { config.module.rules.push({ test: /\.svg$/i,