From b14a7c2f44d6464aa16d7c736bd279ba808073f6 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Wed, 7 Feb 2024 10:30:18 -0800 Subject: [PATCH] Try to fix new next+ant build errors --- web/next.config.js | 1 + 1 file changed, 1 insertion(+) 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,