mirror of
https://github.com/DefectingCat/DefectingCat.github.io
synced 2025-07-15 08:41:37 +00:00
* Upgrade react 18.0.0-rc.0 * Remove ts-node * Fix type error * Fix type errorRemove useless log
21 lines
516 B
JavaScript
21 lines
516 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: {
|
|
// Native Node.js APIs are not supported in the Edge Runtime with `concurrentFeatures` enabled. Found `fs` imported.
|
|
// concurrentFeatures: true,
|
|
// serverComponents: true,
|
|
},
|
|
});
|