diff --git a/next.config.js b/next.config.js index fcab0180fd..17ecc29e24 100644 --- a/next.config.js +++ b/next.config.js @@ -16,6 +16,13 @@ const nextConfig = { }, reactStrictMode: true, swcMinify: isProduction, + transpilePackages: [ + // @see https://github.com/vercel/next.js/issues/58817 + '@ant-design', + 'rc-pagination', + 'rc-picker', + 'rc-util', + ], }; module.exports = NextPwa(nextConfig);