- Replace next/font/google with next/font/local to eliminate build-time dependency on fonts.googleapis.com (Inter + Geist self-hosted in repo) - Centralize font definitions in src/lib/fonts.ts, single entry point - Remove unused Geist import and AnimatePresence import (lint warnings) - Delete unused community/download placeholder pages (build errors) - Add outputFileTracingRoot for monorepo vendor chunk resolution - Make root prepare script CI-safe (husky graceful fallback) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
16 lines
394 B
JavaScript
16 lines
394 B
JavaScript
import { createMDX } from 'fumadocs-mdx/next';
|
|
import { fileURLToPath } from 'node:url';
|
|
import path from 'node:path';
|
|
|
|
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
|
|
|
/** @type {import('next').NextConfig} */
|
|
const config = {
|
|
reactStrictMode: true,
|
|
outputFileTracingRoot: path.resolve(__dirname, '../../'),
|
|
};
|
|
|
|
const withMDX = createMDX();
|
|
|
|
export default withMDX(config);
|