const withNextIntl = require('next-intl/plugin')('./i18n.ts');

/** @type {import('next').NextConfig} */
const nextConfig = {
    images: {
        remotePatterns: [
            {
                protocol: 'https',
                hostname: '**',
            },
            {
                protocol: 'http',
                hostname: '**',
            },
        ],
    },
    output: 'standalone',

    reactStrictMode: false,
    typescript: {
        ignoreBuildErrors: false,
    },
};

module.exports = withNextIntl(nextConfig);
