next.config.js 273 B

123456789101112
  1. const withMarkdoc = require('@markdoc/next.js')
  2. /** @type {import('next').NextConfig} */
  3. const nextConfig = {
  4. reactStrictMode: true,
  5. pageExtensions: ['js', 'jsx', 'md'],
  6. experimental: {
  7. scrollRestoration: true,
  8. },
  9. }
  10. module.exports = withMarkdoc()(nextConfig)