Skip to content

Commit

Permalink
fix: esm error
Browse files Browse the repository at this point in the history
  • Loading branch information
kopy-kat committed Oct 4, 2024
1 parent 99ee4fa commit fdfb9c8
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 11 deletions.
11 changes: 0 additions & 11 deletions next.config.js

This file was deleted.

15 changes: 15 additions & 0 deletions next.config.mjs
Original file line number Diff line number Diff line change
@@ -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;

0 comments on commit fdfb9c8

Please sign in to comment.