Files
nym/documentation/docs/next.config.mjs
T
2024-10-15 12:14:42 +03:00

20 lines
464 B
JavaScript

import nextra from "nextra";
// const path = require('path');
// const CopyPlugin = require('copy-webpack-plugin');
const withNextra = nextra({
theme: "nextra-theme-docs",
themeConfig: "./theme.config.jsx",
});
const config = {
// output: 'export', // static HTML files, has problems with Vercel
// rewrites: undefined,
images: {
unoptimized: true,
},
transpilePackages: ["@nymproject/contract-clients"],
};
export default withNextra(config);