|
- const withMDX = require('@next/mdx')({
- extension: /\.mdx?$/,
- options: {
-
-
-
- remarkPlugins: [],
- rehypePlugins: [],
-
- providerImportSource: "@mdx-js/react",
- },
- })
-
-
- const nextConfig = {
-
- pageExtensions: ['ts', 'tsx', 'js', 'jsx', 'md', 'mdx'],
-
- reactStrictMode: true,
- webpack: (config, { isServer }) => {
- if (!isServer) {
- config.resolve.fallback.fs = false;
- }
- return config;
- },
- }
-
-
- module.exports = withMDX(nextConfig)
|