www-new/next.config.js

19 lines
376 B
JavaScript
Raw Normal View History

const withMDX = require("@next/mdx")({
extension: /\.mdx?$/,
});
2021-04-26 19:16:55 -04:00
module.exports = withMDX({
pageExtensions: ["ts", "tsx"],
trailingSlash: true,
2021-06-07 21:51:02 -04:00
basePath: process.env.NEXT_PUBLIC_BASE_PATH,
eslint: { ignoreDuringBuilds: true },
rewrites: async () => {
return [
{
source: '/stats(/?)',
destination: '/stats.html',
},
];
},
});