From d0094fcbc449f32c7f3424624037da230b537a42 Mon Sep 17 00:00:00 2001 From: Shuyoou Date: Mon, 24 Jun 2024 10:31:33 +0800 Subject: [PATCH] chore: update example next.js README (#329) --- examples/nextjs/README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/nextjs/README.md b/examples/nextjs/README.md index 7ecdd292..8164d1af 100644 --- a/examples/nextjs/README.md +++ b/examples/nextjs/README.md @@ -27,6 +27,10 @@ Fixed the issue of "Unable to load service: milvus.proto.milvus.MilvusService" const nextConfig = { experimental: { serverComponentsExternalPackages: ['@zilliz/milvus2-sdk-node'], + outputFileTracingIncludes: { + // When deploying to Vercel, the following configuration is required + '/api/**/*': ['node_modules/@zilliz/milvus2-sdk-node/dist/proto/**/*'], + }, }, };