go-ethereum/next.config.js
2022-12-12 08:13:10 -07:00

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;
}
});