Skip to content

Commit b091458

Browse files
committed
chore: replace experimental ppr with cached components
1 parent 4f77d2f commit b091458

File tree

1 file changed

+32
-32
lines changed

1 file changed

+32
-32
lines changed

next.config.mjs

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,37 @@
11
/** @type {import("next").NextConfig} */
22
const nextConfig = {
3-
eslint: {
4-
ignoreDuringBuilds: true,
5-
},
6-
images: {
7-
remotePatterns: [
8-
{
9-
protocol: "https",
10-
hostname: "prod-files-secure.s3.us-west-2.amazonaws.com",
11-
port: "",
12-
pathname: "**",
13-
},
14-
],
15-
},
16-
async redirects() {
17-
return [
18-
{
19-
source: "/:path*",
20-
has: [
21-
{
22-
type: "host",
23-
value: "norm-atlas.no",
24-
},
25-
],
26-
destination: "https://pathogens.no/dashboards/norm-atlas",
27-
permanent: true,
28-
},
29-
];
30-
},
31-
experimental: {
32-
reactCompiler: true,
33-
ppr: "incremental",
34-
},
3+
eslint: {
4+
ignoreDuringBuilds: true,
5+
},
6+
images: {
7+
remotePatterns: [
8+
{
9+
protocol: "https",
10+
hostname: "prod-files-secure.s3.us-west-2.amazonaws.com",
11+
port: "",
12+
pathname: "**",
13+
},
14+
],
15+
},
16+
async redirects() {
17+
return [
18+
{
19+
source: "/:path*",
20+
has: [
21+
{
22+
type: "host",
23+
value: "norm-atlas.no",
24+
},
25+
],
26+
destination: "https://pathogens.no/dashboards/norm-atlas",
27+
permanent: true,
28+
},
29+
];
30+
},
31+
cacheComponents: true,
32+
experimental: {
33+
reactCompiler: true,
34+
},
3535
};
3636

3737
export default nextConfig;

0 commit comments

Comments
 (0)