配置 mdx 与 turbopack 继承;修复退出登录后循环跳转的问题;button 统一复用可导出样式并微调样式
This commit is contained in:
@@ -4,11 +4,13 @@ import remarkGfm from 'remark-gfm'
|
||||
|
||||
const nextConfig: NextConfig = {
|
||||
output: "standalone",
|
||||
pageExtensions: ['js', 'jsx', 'md', 'mdx', 'ts', 'tsx'],
|
||||
pageExtensions: ['js', 'jsx', 'mdx', 'ts', 'tsx'],
|
||||
experimental: {
|
||||
mdxRs: true,
|
||||
}
|
||||
}
|
||||
|
||||
const withMdx = createMDX({
|
||||
extension: /\.(md|mdx)$/,
|
||||
options: {
|
||||
remarkPlugins: [remarkGfm],
|
||||
rehypePlugins: [],
|
||||
|
||||
Reference in New Issue
Block a user