diff --git a/next.config.ts b/next.config.ts index f2efe77a72..47f5b0a793 100644 --- a/next.config.ts +++ b/next.config.ts @@ -40,6 +40,11 @@ const nextConfig: NextConfig = { // Disable Next.js telemetry productionBrowserSourceMaps: false, + // Enable TypeScript CLI integration for TypeScript 7 compatibility + experimental: { + useTypeScriptCli: true, + }, + // Add caching headers for static assets async headers() { return [ @@ -94,4 +99,4 @@ export default withBA( }, telemetry: false, }), -); +); \ No newline at end of file