From 105d88662707a0bc26f6e7fb98297e90ae27a84e Mon Sep 17 00:00:00 2001 From: Zino Hofmann Date: Thu, 16 May 2024 14:42:18 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=A9=B9=20context=20approach=20requ?= =?UTF-8?q?ires=20`serverComponentsExternalPackages`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/with-app-router-context/next.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/with-app-router-context/next.config.js b/examples/with-app-router-context/next.config.js index 6af66f47..8395858e 100644 --- a/examples/with-app-router-context/next.config.js +++ b/examples/with-app-router-context/next.config.js @@ -1,6 +1,7 @@ /** @type {import('next').NextConfig} */ const nextConfig = { experimental: { + serverComponentsExternalPackages: ['next-runtime-env'], // This is optional incase you want to make some private env vars publicly // available. instrumentationHook: true,