From f206f3c2924a6bb5ad4d1fc63a872bae55816d6e Mon Sep 17 00:00:00 2001 From: CanisMinor Date: Wed, 11 Oct 2023 02:22:17 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20=20chore:=20Use=20swcMinify?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- next.config.mjs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/next.config.mjs b/next.config.mjs index 6bb75b322953..501404354793 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -16,8 +16,7 @@ const withPWA = nextPWA({ /** @type {import('next').NextConfig} */ const nextConfig = { reactStrictMode: true, - // not sure why antd-style cause multi ThemeProvider instance - // So we need to transpile it to lib mode + swcMinify: true, transpilePackages: ['@lobehub/ui', 'antd-style'], webpack(config) { config.experiments = {