Skip to content
This repository was archived by the owner on Jan 25, 2024. It is now read-only.

Commit 0bbfbc7

Browse files
authored
Merge pull request #13 from nteract/fix-mdx
fixing up mdx
2 parents 3e20d69 + e8dd6f7 commit 0bbfbc7

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/template/next.config.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
1-
const withMDX = require("@zeit/next-mdx")();
1+
const withMDX = require("@zeit/next-mdx")({
2+
extension: /\.mdx?$/
3+
});
24
module.exports = withMDX({
35
exportPathMap: function() {
46
return {
57
"/": { page: "/" }
68
};
7-
}
9+
},
10+
pageExtensions: ["md", "mdx"]
811
});

0 commit comments

Comments
 (0)