diff --git a/next-env.d.ts b/next-env.d.ts index 40c3d680..830fb594 100644 --- a/next-env.d.ts +++ b/next-env.d.ts @@ -1,5 +1,6 @@ /// /// +/// // NOTE: This file should not be edited -// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information. +// see https://nextjs.org/docs/app/api-reference/config/typescript for more information. diff --git a/next.config.js b/next.config.js index b68232a6..2412dc9c 100644 --- a/next.config.js +++ b/next.config.js @@ -13,12 +13,10 @@ const nextConfig = { typescript: { ignoreBuildErrors: false, }, - experimental: { - serverComponentsExternalPackages: ["@langchain/langgraph"], - }, + serverExternalPackages: ["@langchain/langgraph"], async headers() { return [{ source: "/:path*", headers: securityHeaders }]; }, }; -module.exports = nextConfig; \ No newline at end of file +module.exports = nextConfig; diff --git a/tsconfig.json b/tsconfig.json index 0411e459..7a495fbe 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,6 +1,7 @@ { "compilerOptions": { "lib": ["dom", "dom.iterable", "esnext"], + "target": "ES2017", "allowJs": true, "skipLibCheck": true, "strict": true,