diff options
Diffstat (limited to 'next.config.js')
| -rw-r--r-- | next.config.js | 17 |
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 |
