491f9a2c49
At request of @timneutkens I moved the `next-mdx` plugin from the next-plugins repo into Next.js. Also fixed small typo in README under setup.
6 lines
134 B
JavaScript
6 lines
134 B
JavaScript
const withMDX = require('@next/mdx')({
|
|
extension: /\.mdx?$/
|
|
})
|
|
module.exports = withMDX({
|
|
pageExtensions: ['js', 'jsx', 'mdx']
|
|
})
|