diff options
Diffstat (limited to 'apps/web/next.config.ts')
| -rw-r--r-- | apps/web/next.config.ts | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/apps/web/next.config.ts b/apps/web/next.config.ts index fa1ac7f5..2f509d2a 100644 --- a/apps/web/next.config.ts +++ b/apps/web/next.config.ts @@ -1,7 +1,16 @@ import type { NextConfig } from "next"; import { withBotId } from "botid/next/config"; +import { withContentCollections } from "@content-collections/next"; const nextConfig: NextConfig = { + turbopack: { + rules: { + "*.glsl": { + loaders: [require.resolve("raw-loader")], + as: "*.js", + }, + }, + }, compiler: { removeConsole: process.env.NODE_ENV === "production", }, @@ -46,4 +55,4 @@ const nextConfig: NextConfig = { }, }; -export default withBotId(nextConfig); +export default withContentCollections(withBotId(nextConfig)); |
