From d6d2d9ceef2e95b604ac4ebdc054cad44a8440b1 Mon Sep 17 00:00:00 2001 From: IT Fixcomart Date: Mon, 31 Oct 2022 16:31:56 +0700 Subject: Product detail and header --- next.config.js | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'next.config.js') diff --git a/next.config.js b/next.config.js index ae887958..8a019dcc 100644 --- a/next.config.js +++ b/next.config.js @@ -2,6 +2,23 @@ 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 -- cgit v1.2.3