summaryrefslogtreecommitdiff
path: root/next.config.js
blob: 8a019dcc5384563eeebbee0da914c415a2ebe178 (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
/** @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: {
    DB_HOST: 'https://erp.indoteknik.com',
    DB_NAME: 'erp_indoteknik',
    // DB_HOST: 'http://192.168.27.253:8069',
    // DB_NAME: 'indoteknik_odoo',
    DB_USER: 'it@fixcomart.co.id',
    DB_PASS: 'Fixcomart378',
  },
}

module.exports = nextConfig