From 628a448119ccd79784677bb273cda8e52dcbb11b Mon Sep 17 00:00:00 2001 From: Shuyou Date: Mon, 24 Jun 2024 10:26:03 +0800 Subject: [PATCH] chore: update example next.js README --- examples/nextjs/README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/nextjs/README.md b/examples/nextjs/README.md index 7ecdd29..8164d1a 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/**/*'], + }, }, };