computer-scienceangular-roadmapbackend-roadmapblockchain-roadmapdba-roadmapdeveloper-roadmapdevops-roadmapfrontend-roadmapgo-roadmaphactoberfestjava-roadmapjavascript-roadmapnodejs-roadmappython-roadmapqa-roadmapreact-roadmaproadmapstudy-planvue-roadmapweb3-roadmap
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
452 B
24 lines
452 B
const path = require('path'); |
|
const rehypePrism = require('@mapbox/rehype-prism'); |
|
|
|
const withMDX = require('@next/mdx')({ |
|
extension: /\.(md|mdx)?$/, |
|
options: { |
|
rehypePlugins: [rehypePrism] |
|
} |
|
}); |
|
|
|
let nextConfig = { |
|
reactStrictMode: true, |
|
poweredByHeader: false, |
|
|
|
webpack(config, options) { |
|
config.resolve.modules.push(path.resolve('./')); |
|
|
|
return config; |
|
} |
|
}; |
|
|
|
nextConfig = withMDX(nextConfig); |
|
|
|
module.exports = nextConfig;
|
|
|