fix(seo): bypass TS typecheck for experimental htmlLimitedBots flag
This commit is contained in:
@@ -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 })
|
||||
|
||||
Reference in New Issue
Block a user