Files
bridge/docs/next.config.js
T
2025-12-24 14:19:52 -08:00

20 lines
456 B
JavaScript

const withNextra = require('nextra')({
theme: 'nextra-theme-docs',
themeConfig: './theme.config.tsx',
defaultShowCopyCode: true,
mdxOptions: {
remarkPlugins: [],
rehypePlugins: [],
},
})
module.exports = withNextra({
reactStrictMode: true,
swcMinify: true,
output: 'export',
images: {
unoptimized: true,
},
basePath: process.env.GITHUB_PAGES ? '/bridge' : '',
assetPrefix: process.env.GITHUB_PAGES ? '/bridge/' : '',
})