Skip to content

Commit

Permalink
fix: 🩹 context approach requires serverComponentsExternalPackages
Browse files Browse the repository at this point in the history
  • Loading branch information
HofmannZ committed May 16, 2024
1 parent 06f7740 commit 105d886
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/with-app-router-context/next.config.js
Original file line number Diff line number Diff line change
@@ -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,
Expand Down

0 comments on commit 105d886

Please sign in to comment.