Skip to content

Commit

Permalink
chore: more build fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ovflowd committed Oct 31, 2024
1 parent 15a4d18 commit 45c9036
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions apps/site/app/[locale]/next-data/og/route.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { ImageResponse } from 'next/og';

import HexagonGrid from '@/components/Icons/HexagonGrid';
import JsIconWhite from '@/components/Icons/Logos/JsIconWhite';
import { ENABLE_STATIC_EXPORT, VERCEL_ENV } from '@/next.constants.mjs';
import { defaultLocale } from '@/next.locales.mjs';
import tailwindConfig from '@/tailwind.config';
import { hexToRGBA } from '@/util/hexToRGBA';
Expand Down Expand Up @@ -63,7 +62,7 @@ export const dynamicParams = true;

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

// Ensures that this endpoint is invalidated and re-executed every X minutes
// so that when new deployments happen, the data is refreshed
Expand Down
3 changes: 1 addition & 2 deletions apps/site/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@
"**/*.tsx",
".next/types/**/*.ts",
".storybook/**/*.ts",
".storybook/**/*.tsx",
"build/types/**/*.ts"
".storybook/**/*.tsx"
],
"exclude": ["node_modules", ".next"]
}

0 comments on commit 45c9036

Please sign in to comment.