next.config.mjs 308 B

123456789101112
  1. /** @type {import('next').NextConfig} */
  2. import createNextIntlPlugin from 'next-intl/plugin';
  3. const withNextIntl = createNextIntlPlugin();
  4. /** @type {import('next').NextConfig} */
  5. const nextConfig = {
  6. reactStrictMode: true,
  7. transpilePackages: ['antd']
  8. };
  9. export default withNextIntl(nextConfig);