add next.config.mjs
- SHA
64e5e05bb3523cb32f2faf095dac54008eba1e5c- Parents
-
c14fad3 - Tree
0d0cfc2
64e5e05
64e5e05bb3523cb32f2faf095dac54008eba1e5cc14fad3
0d0cfc2| Status | File | + | - |
|---|---|---|---|
| A |
next.config.mjs
|
13 | 0 |
next.config.mjsadded@@ -0,0 +1,13 @@ | ||
| 1 | +import createMDX from "@next/mdx"; | |
| 2 | + | |
| 3 | +/** @type {import('next').NextConfig} */ | |
| 4 | +const nextConfig = { | |
| 5 | + reactStrictMode: true, | |
| 6 | + pageExtensions: ["js", "jsx", "md", "mdx", "ts", "tsx"], | |
| 7 | +}; | |
| 8 | + | |
| 9 | +const withMDX = createMDX({ | |
| 10 | + extension: /\.mdx?$/, | |
| 11 | +}); | |
| 12 | + | |
| 13 | +export default withMDX(nextConfig); | |