next.config.js 469 B

1234567891011121314151617
  1. const withMarkdoc = require('@markdoc/next.js')
  2. const { withPlausibleProxy } = require('next-plausible')
  3. /** @type {import('next').NextConfig} */
  4. const nextConfig = withMarkdoc()({
  5. swcMinify: true,
  6. reactStrictMode: true,
  7. pageExtensions: ['js', 'jsx', 'md'],
  8. experimental: {
  9. newNextLinkBehavior: true,
  10. scrollRestoration: true,
  11. legacyBrowsers: false,
  12. images: { allowFutureImage: true },
  13. },
  14. })
  15. module.exports = withPlausibleProxy()(nextConfig)