Files
web/next.config.ts
2025-06-23 19:06:39 +08:00

29 lines
497 B
TypeScript

import createMDX from '@next/mdx'
export default createMDX({
options: {
rehypePlugins: [
['rehype-highlight', null],
],
},
})({
output: 'standalone',
pageExtensions: ['js', 'jsx', 'mdx', 'ts', 'tsx'],
experimental: {
mdxRs: {
mdxType: 'gfm',
},
},
images: {
remotePatterns: [
{
protocol: 'https',
hostname: 'pay.rscygroup.com',
port: '',
pathname: '/api/scan/imgs/*',
search: '',
},
],
},
})