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

module.exports = nextConfig