fix: add useTypeScriptCli experimental flag for typescript 7 support
This commit is contained in:
@@ -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 [
|
||||
|
||||
Reference in New Issue
Block a user