diff options
Diffstat (limited to 'next.config.js')
| -rw-r--r-- | next.config.js | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/next.config.js b/next.config.js new file mode 100644 index 0000000..9b1c00f --- /dev/null +++ b/next.config.js @@ -0,0 +1,25 @@ +/** + * Run `build` or `dev` with `SKIP_ENV_VALIDATION` to skip env validation. This is especially useful + * for Docker builds. + */ +import './src/env.js'; + +import { createMDX } from 'fumadocs-mdx/next'; + +const withMDX = createMDX(); + +/** @type {import('next').NextConfig} */ +const config = { + reactStrictMode: true, + experimental: { + viewTransition: true, + }, + serverExternalPackages: [ + 'ts-morph', + 'typescript', + 'oxc-transform', + 'twoslash', + ], +}; + +export default withMDX(config); |
