Files
web/next.config.ts

29 lines
497 B
TypeScript
Raw Normal View History

import createMDX from '@next/mdx'
2025-03-04 10:10:35 +08:00
export default createMDX({
options: {
rehypePlugins: [
['rehype-highlight', null],
],
},
})({
output: 'standalone',
pageExtensions: ['js', 'jsx', 'mdx', 'ts', 'tsx'],
experimental: {
mdxRs: {
mdxType: 'gfm',
},
},
2025-06-23 18:59:31 +08:00
images: {
remotePatterns: [
{
protocol: 'https',
hostname: 'pay.rscygroup.com',
port: '',
pathname: '/api/scan/imgs/*',
search: '',
},
],
},
})