mirror of
https://github.com/sergi0g/cup.git
synced 2025-11-08 13:13:49 -05:00
18 lines
428 B
JavaScript
18 lines
428 B
JavaScript
const withNextra = require("nextra")({
|
|
theme: "nextra-theme-docs",
|
|
themeConfig: "./theme.config.jsx",
|
|
});
|
|
|
|
module.exports = withNextra(
|
|
{
|
|
output: "export",
|
|
images: {
|
|
unoptimized: true
|
|
},
|
|
basePath: process.env.NODE_ENV == 'production' ? '/cup' : ''
|
|
}
|
|
);
|
|
|
|
// If you have other Next.js configurations, you can pass them as the parameter:
|
|
// module.exports = withNextra({ /* other next.js config */ })
|