修复提取 ip 接口json类型返回值错误问题;完善 ip 提取页响应式设计
This commit is contained in:
@@ -1,20 +1,17 @@
|
||||
import type { NextConfig } from "next"
|
||||
import createMDX from "@next/mdx"
|
||||
import remarkGfm from 'remark-gfm'
|
||||
import createMDX from '@next/mdx'
|
||||
|
||||
const nextConfig: NextConfig = {
|
||||
output: "standalone",
|
||||
export default createMDX({
|
||||
options: {
|
||||
rehypePlugins: [
|
||||
['rehype-highlight', null],
|
||||
],
|
||||
},
|
||||
})({
|
||||
output: 'standalone',
|
||||
pageExtensions: ['js', 'jsx', 'mdx', 'ts', 'tsx'],
|
||||
experimental: {
|
||||
mdxRs: true,
|
||||
}
|
||||
}
|
||||
|
||||
const withMdx = createMDX({
|
||||
options: {
|
||||
remarkPlugins: [remarkGfm],
|
||||
rehypePlugins: [],
|
||||
}
|
||||
mdxRs: {
|
||||
mdxType: 'gfm',
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
export default withMdx(nextConfig)
|
||||
|
||||
Reference in New Issue
Block a user