2022-09-08 14:18:30 -05:00
|
|
|
/** @type {import('next').NextConfig} */
|
|
|
|
|
2022-09-09 07:13:20 -05:00
|
|
|
const withMDX = require('@next/mdx')({
|
|
|
|
extension: /\.mdx?$/,
|
|
|
|
options: {
|
|
|
|
remarkPlugins: [],
|
|
|
|
rehypePlugins: []
|
|
|
|
// If you use `MDXProvider`, uncomment the following line.
|
|
|
|
// providerImportSource: "@mdx-js/react",
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
module.exports = withMDX({
|
|
|
|
reactStrictMode: true,
|
|
|
|
swcMinify: true,
|
|
|
|
// Append the default value with md extensions
|
|
|
|
pageExtensions: ['ts', 'tsx', 'md', 'mdx']
|
|
|
|
});
|