From e35ab1e8b312470769d1ff3e690c0b4d9561b46c Mon Sep 17 00:00:00 2001 From: Fuxing Loh Date: Wed, 15 Nov 2023 16:00:31 +0800 Subject: [PATCH] provide serverComponentsExternalPackages --- website/next.config.mjs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/website/next.config.mjs b/website/next.config.mjs index ac67305d7..7f31afc11 100644 --- a/website/next.config.mjs +++ b/website/next.config.mjs @@ -14,6 +14,9 @@ const nextConfig = { env: { BASE_URL: getBaseUrl(), }, + experimental: { + serverComponentsExternalPackages: ['shiki'], + }, trailingSlash: false, reactStrictMode: true, swcMinify: true,