Enable React Compiler in Next config

This change enables the React Compiler in the Next.js configuration and adds the required Babel plugin dependency. The goal is to allow the app to use React Compiler optimizations during builds and improve rendering performance.
This commit is contained in:
Ichsan Kurniawan
2026-10-08 17:36:42 +07:00
parent bab7bbe272
commit de8dafcd92
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -23,6 +23,7 @@ const nextConfig: NextConfig = {
],
qualities: [50, 65, 70, 75, 80, 85, 90, 100],
},
reactCompiler: true,
reactStrictMode: false
};