2026-05-21 14:12:50 +08:00
|
|
|
import { createMDX } from 'fumadocs-mdx/next';
|
2026-05-19 21:09:56 +08:00
|
|
|
|
|
|
|
|
/** @type {import('next').NextConfig} */
|
|
|
|
|
const nextConfig = {
|
2026-05-20 14:22:14 +08:00
|
|
|
output: 'export',
|
|
|
|
|
basePath: process.env.NEXT_PUBLIC_BASE_PATH || '',
|
|
|
|
|
images: { unoptimized: true },
|
2026-05-21 11:20:01 +08:00
|
|
|
transpilePackages: ['newspaperui'],
|
2026-05-19 21:09:56 +08:00
|
|
|
};
|
|
|
|
|
|
2026-05-21 14:12:50 +08:00
|
|
|
const withMDX = createMDX();
|
2026-05-19 21:09:56 +08:00
|
|
|
|
|
|
|
|
export default withMDX(nextConfig);
|