mirror of
https://github.com/luxfi/docs.git
synced 2026-09-24 00:25:32 +00:00
22 lines
410 B
TypeScript
22 lines
410 B
TypeScript
import { createMDX } from '@hanzo/docs/mdx/next';
|
|
import type { NextConfig } from 'next';
|
|
|
|
const config: NextConfig = {
|
|
reactStrictMode: true,
|
|
serverExternalPackages: ['shiki'],
|
|
async rewrites() {
|
|
return [
|
|
{
|
|
source: '/docs/:path*.mdx',
|
|
destination: '/llms.mdx/:path*',
|
|
},
|
|
];
|
|
},
|
|
};
|
|
|
|
const withMDX = createMDX({
|
|
outDir: '.docs',
|
|
});
|
|
|
|
export default withMDX(config);
|