next.config.js 321 B

1234567891011121314
  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({
  11. tokenizerOptions: { allowComments: true },
  12. })(nextConfig)