fix(seo): bypass TS typecheck for experimental htmlLimitedBots flag

This commit is contained in:
MichalC
2026-09-19 12:25:52 +02:00
parent 09d98a8094
commit 9a772dd349
3 changed files with 36 additions and 3 deletions
+4
View File
@@ -42,6 +42,10 @@ const nextConfig: NextConfig = {
turbopack: {
root: path.resolve(dirname),
},
experimental: {
// @ts-expect-error - Undocumented Next.js feature required for SEO streaming
htmlLimitedBots: /Googlebot|bingbot|yandex|baiduspider/i,
},
}
export default withPayload(nextConfig, { devBundleServerPackages: false })