import createMDX from "@next/mdx"

/** @type {import('next').NextConfig} */
const nextConfig = {
  images: {
    remotePatterns: [
      {
        protocol: 'https',
        hostname: 'media.tenor.com'
      }
    ]
  },
  output: 'standalone',
  productionBrowserSourceMaps: false,
  pageExtensions: ['js', 'jsx', 'md', 'mdx', 'ts', 'tsx'],
};

const withMDX = createMDX()

export default withMDX(nextConfig);
