/** @type {import('next').NextConfig} */ const nextConfig = { reactStrictMode: true, swcMinify: true, webpack(config) { config.module.rules.push({ test: /\.svg$/i, issuer: /\.[jt]sx?$/, use: ['@svgr/webpack'], }) return config }, i18n: { locales: ['id'], defaultLocale: 'id', }, images: { remotePatterns: [ { protocol: 'https', hostname: 'erp.indoteknik.com' } ] }, env: { SELF_HOST: 'http://localhost:3000', // ODOO_HOST: 'http://35.219.117.154:8069', ODOO_HOST: 'http://127.0.0.1:8069', // ODOO_HOST: 'https://erp.indoteknik.com', SOLR_HOST: 'http://34.101.189.218:8983', MAIL_PORT: 465, MAIL_HOST: 'smtp.gmail.com', MAIL_USER: 'sales@indoteknik.com', MAIL_PASS: '$&nKAoP7!TAm' }, } module.exports = nextConfig