Skip to content

Commit edd2d99

Browse files
committed
And again
1 parent d029668 commit edd2d99

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

packages/mdx/next.config.js

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,4 @@
1-
const { remarkCodeHike } = require("@code-hike/mdx")
2-
const theme = require("shiki/themes/nord.json")
3-
4-
const withMDX = require("@next/mdx")({
5-
extension: /\.mdx?$/,
6-
options: {
7-
remarkPlugins: [[remarkCodeHike, { theme }]],
8-
},
9-
})
10-
11-
module.exports = withMDX({
12-
pageExtensions: ["ts", "tsx", "js", "jsx", "md", "mdx"],
13-
1+
module.exports = {
142
redirects() {
153
return [
164
{
@@ -20,4 +8,4 @@ module.exports = withMDX({
208
},
219
]
2210
},
23-
})
11+
}

0 commit comments

Comments
 (0)