Reenable PPR

This commit is contained in:
Sam Becker 2024-04-19 08:53:47 -05:00
parent 4c7e6c27d5
commit 63ff8297f0

View File

@ -35,6 +35,9 @@ const nextConfig = {
.concat(createRemotePattern(HOSTNAME_AWS_S3)),
minimumCacheTTL: 31536000,
},
...process.env.NEXT_PUBLIC_STATICALLY_OPTIMIZE === '1' && {
experimental: { ppr: true },
},
webpack: (config) => {
config.optimization ??= {};
if (process.env.NODE_ENV !== 'production') {