fix: add useTypeScriptCli experimental flag for typescript 7 support
This commit is contained in:
1 parent
15a76ffe84
commit
9ea67ecf72
1 file changed
+5
@@ -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