m/cup
1
0
mirror of https://github.com/sergi0g/cup.git synced 2025-11-11 06:33:49 -05:00
Files
cup/docs/next.config.js
2024-12-20 19:24:22 +02:00

17 lines
463 B
JavaScript

const withNextra = require("nextra")({
theme: "nextra-theme-docs",
themeConfig: "./theme.config.jsx",
});
module.exports = withNextra({
output: "export",
images: {
unoptimized: true,
},
transpilePackages: ["geist", "framer-motion"],
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 */ })