blob: 9b1c00f556aca97b41a035b634ad3cdee0c9eaed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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);
|