summaryrefslogtreecommitdiff
path: root/next.config.js
blob: 37bb288a065787d78934bcd2bc6399527c7c2853 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/** @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_USER: 'it@fixcomart.co.id',
    DB_PASS: 'Fixcomart378',
  },
}

module.exports = nextConfig