summaryrefslogtreecommitdiff
path: root/next.config.js
diff options
context:
space:
mode:
authorIT Fixcomart <it@fixcomart.co.id>2022-10-31 16:31:56 +0700
committerIT Fixcomart <it@fixcomart.co.id>2022-10-31 16:31:56 +0700
commitd6d2d9ceef2e95b604ac4ebdc054cad44a8440b1 (patch)
tree376278eb3f7baa6b9405177b8fb57805d4a066b9 /next.config.js
parent97c98e0a6fa0757e58ca9dacf8e720a52e10dcf5 (diff)
Product detail and header
Diffstat (limited to 'next.config.js')
-rw-r--r--next.config.js17
1 files changed, 17 insertions, 0 deletions
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