go-ethereum/next.config.js

23 lines
564 B
JavaScript
Raw Normal View History

2022-09-08 22:18:30 +03:00
/** @type {import('next').NextConfig} */
2022-12-09 10:22:16 +03:00
const { redirects: redirectsList } = require('./redirects');
2022-09-08 22:18:30 +03:00
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
2022-12-09 10:22:16 +03:00
pageExtensions: ['ts', 'tsx', 'md', 'mdx'],
async redirects() {
2022-12-12 18:13:10 +03:00
return redirectsList;
}
2022-09-09 15:13:20 +03:00
});