aiostreams / packages /docs /next.config.mjs
f4b404's picture
Upload folder using huggingface_hub
f55c62a verified
Raw
History Blame Contribute Delete
389 Bytes
import { createMDX } from 'fumadocs-mdx/next';
const withMDX = createMDX();
/** @type {import('next').NextConfig} */
const config = {
serverExternalPackages: ['@takumi-rs/image-response'],
output: process.env.NODE_ENV === 'production' ? 'export' : undefined,
reactStrictMode: true,
trailingSlash: true,
images: {
unoptimized: true,
},
};
export default withMDX(config);