diff --git a/next.config.js b/next.config.js deleted file mode 100644 index 62c82b0..0000000 --- a/next.config.js +++ /dev/null @@ -1,11 +0,0 @@ -const withNextra = require("nextra")({ - theme: "nextra-theme-docs", - themeConfig: "./theme.config.js", -}); - -module.exports = { - ...withNextra(), - images: { - unoptimized: true, - }, -}; diff --git a/next.config.mjs b/next.config.mjs new file mode 100644 index 0000000..4d6f3ec --- /dev/null +++ b/next.config.mjs @@ -0,0 +1,15 @@ +import withNextra from "nextra"; + +const config = withNextra({ + theme: "nextra-theme-docs", + themeConfig: "./theme.config.js", +}); + +const nextConfig = { + ...config(), + images: { + unoptimized: true, + }, +}; + +export default nextConfig;