23 lines
564 B
JavaScript
23 lines
564 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const { redirects: redirectsList } = require('./redirects');
|
|
|
|
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'],
|
|
async redirects() {
|
|
return redirectsList;
|
|
}
|
|
});
|