feat: enable React Compiler on Next 16
Auto-memoization via babel-plugin-react-compiler (stable in Next 16), compiled through Turbopack's built-in babel. Build and test suite pass. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -5,6 +5,8 @@ const nextConfig = {
|
||||
// متادیتا (canonical/OG/keywords) باید داخل <head> رندر شود نه استریم در <body>.
|
||||
// از Next 15.2 استریم متادیتا پیشفرض است؛ این regex همهی UAها را blocking میکند.
|
||||
htmlLimitedBots: /.*/,
|
||||
// React Compiler (پایدار در Next 16) — memoization خودکار کامپوننتها.
|
||||
reactCompiler: true,
|
||||
images: {
|
||||
remotePatterns: [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user