mirror of
https://github.com/ichsankurnia/hats-app.git
synced 2026-12-05 11:06:29 +00:00
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:
@@ -23,6 +23,7 @@ const nextConfig: NextConfig = {
|
||||
],
|
||||
qualities: [50, 65, 70, 75, 80, 85, 90, 100],
|
||||
},
|
||||
reactCompiler: true,
|
||||
reactStrictMode: false
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user