From fc1d22565e08db8c49fa21b498ec1e02455c5c9b Mon Sep 17 00:00:00 2001 From: Rafi Zadanly Date: Tue, 12 Sep 2023 09:45:34 +0700 Subject: Add distDir on next config --- next.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/next.config.js b/next.config.js index 2f3f4396..8e1ceda3 100644 --- a/next.config.js +++ b/next.config.js @@ -9,6 +9,7 @@ const withPWA = require('next-pwa')({ const nextConfig = { reactStrictMode: true, swcMinify: true, + distDir: process.env.BUILD_DIR || '.next', webpack(config) { config.module.rules.push({ test: /\.svg$/i, -- cgit v1.2.3