next.config.js 438 B

12345678910111213141516
  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. scrollRestoration: true,
  10. legacyBrowsers: false,
  11. images: { allowFutureImage: true },
  12. },
  13. })
  14. module.exports = withPlausibleProxy()(nextConfig)