summaryrefslogtreecommitdiff
path: root/next.config.js
blob: 1897a17856e930a2f95f04c6c578bfbac711472a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/** @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
  },
  env: {
    SELF_HOST: 'http://localhost:3000',
    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