Skip to content

Commit 45c9036

Browse files
committed
chore: more build fixes
1 parent 15a4d18 commit 45c9036

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

apps/site/app/[locale]/next-data/og/route.tsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import { ImageResponse } from 'next/og';
22

33
import HexagonGrid from '@/components/Icons/HexagonGrid';
44
import JsIconWhite from '@/components/Icons/Logos/JsIconWhite';
5-
import { ENABLE_STATIC_EXPORT, VERCEL_ENV } from '@/next.constants.mjs';
65
import { defaultLocale } from '@/next.locales.mjs';
76
import tailwindConfig from '@/tailwind.config';
87
import { hexToRGBA } from '@/util/hexToRGBA';
@@ -63,7 +62,7 @@ export const dynamicParams = true;
6362

6463
// Enforces that this route is used as static rendering
6564
// @see https://nextjs.org/docs/app/api-reference/file-conventions/route-segment-config#dynamic
66-
export const dynamic = ENABLE_STATIC_EXPORT ? 'force-static' : 'auto';
65+
export const dynamic = 'auto';
6766

6867
// Ensures that this endpoint is invalidated and re-executed every X minutes
6968
// so that when new deployments happen, the data is refreshed

apps/site/tsconfig.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@
2828
"**/*.tsx",
2929
".next/types/**/*.ts",
3030
".storybook/**/*.ts",
31-
".storybook/**/*.tsx",
32-
"build/types/**/*.ts"
31+
".storybook/**/*.tsx"
3332
],
3433
"exclude": ["node_modules", ".next"]
3534
}

0 commit comments

Comments
 (0)