Skip to content

Commit 38e2d8f

Browse files
committed
perf: enable react compiler
1 parent 8ff042f commit 38e2d8f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

next.config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ const nextConfig: NextConfig = {
1818
pageExtensions: ['ts', 'tsx', 'js', 'jsx', 'md', 'mdx'],
1919
// https://github.com/hashicorp/next-mdx-remote?tab=readme-ov-file#installation
2020
transpilePackages: ['next-mdx-remote'],
21+
experimental: {
22+
reactCompiler: true,
23+
},
2124
images: {
2225
remotePatterns: imageRemotes,
2326
},

0 commit comments

Comments
 (0)