Files
NoteNextra-origin/next.config.mjs
2025-02-11 21:10:47 -06:00

23 lines
597 B
JavaScript

import nextra from 'nextra'
const withNextra = nextra({
theme: 'nextra-theme-docs',
themeConfig: './theme.config.jsx',
latex: {
renderer: 'katex',
// options: {
// macros: {
// '\\RR': '\\mathbb{R}'
// }
// }
}
})
export default withNextra({
experimental: {
// optimize memory usage: https://nextjs.org/docs/app/building-your-application/optimizing/memory-usage
webpackMemoryOptimizations: true,
},})
// If you have other Next.js configurations, you can pass them as the parameter:
// export default withNextra({ /* other next.js config */ })