mirror of
https://github.com/kou029w/_.git
synced 2025-01-31 06:18:07 +00:00
14 lines
298 B
JavaScript
14 lines
298 B
JavaScript
const withTypescript = require("@zeit/next-typescript");
|
|
const withMDX = require("@zeit/next-mdx");
|
|
|
|
module.exports = [
|
|
[
|
|
withMDX({
|
|
extension: /\.mdx?$/
|
|
}),
|
|
{
|
|
pageExtensions: ["md", "mdx"]
|
|
}
|
|
],
|
|
[withTypescript]
|
|
].reduce((o, [f, a]) => f(Object.assign(o, a)), {});
|