Files
DefectingCat.github.io/next.config.js
DefectingCat 1cf58e9f9b Update nextjs to 12.1
* update modify post save to db
* Update concurrent fectures
* Update exist post
2022-02-18 11:52:38 +08:00

21 lines
415 B
JavaScript

/** @type {import('next').NextConfig} */
const withMDX = require('@next/mdx')({
extension: /\.mdx?$/,
options: {
remarkPlugins: [],
rehypePlugins: [],
},
});
module.exports = withMDX({
reactStrictMode: true,
pageExtensions: ['ts', 'tsx', 'js', 'jsx', 'md', 'mdx'],
swcMinify: true,
experimental: {
concurrentFeatures: true,
// runtime: 'nodejs',
outputStandalone: true,
},
});