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