Design system.
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

24 lines
702 B

  1. const withMDX = require('@next/mdx')({
  2. extension: /\.mdx?$/,
  3. options: {
  4. // If you use remark-gfm, you'll need to use next.config.mjs
  5. // as the package is ESM only
  6. // https://github.com/remarkjs/remark-gfm#install
  7. remarkPlugins: [],
  8. rehypePlugins: [],
  9. // If you use `MDXProvider`, uncomment the following line.
  10. // providerImportSource: "@mdx-js/react",
  11. },
  12. })
  13. /** @type {import('next').NextConfig} */
  14. const nextConfig = {
  15. // Configure pageExtensions to include md and mdx
  16. pageExtensions: ['ts', 'tsx', 'js', 'jsx', 'md', 'mdx'],
  17. // Optionally, add any other Next.js config below
  18. reactStrictMode: true,
  19. }
  20. // Merge MDX config with Next.js config
  21. module.exports = withMDX(nextConfig)