summaryrefslogtreecommitdiff
path: root/next.config.js
blob: 4435ccba6e27c8504e9778def1d167db56eb10ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/** @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'
  },
}

module.exports = nextConfig