Skip to content

Commit 51e488a

Browse files
committed
fix: react compiler is not experimental now
I also removed an unused "turbopackPersistentCaching" which is renamed in Next.js 15.6 (see vercel/next.js#84215).
1 parent 1516770 commit 51e488a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

next.config.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,13 @@ import type { NextConfig } from "next";
33
const nextConfig: NextConfig = {
44
/* config options here */
55
reactStrictMode: true,
6+
reactCompiler: true,
67
experimental: {
7-
reactCompiler: true,
88
viewTransition: true,
99
swcPlugins: [
1010
["@swc-contrib/plugin-graphql-codegen-client-preset", { artifactDirectory: "./gql", gqlTagName: "graphql" }],
1111
],
1212
ppr: "incremental",
13-
turbopackPersistentCaching: true,
1413
authInterrupts: true,
1514
},
1615
};

0 commit comments

Comments
 (0)