2022-09-08 22:18:30 +03:00
|
|
|
/** @type {import('next').NextConfig} */
|
|
|
|
|
2022-09-09 15:13:20 +03: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']
|
|
|
|
});
|