diff options
| author | Rafi Zadanly <zadanlyr@gmail.com> | 2023-09-12 09:45:34 +0700 |
|---|---|---|
| committer | Rafi Zadanly <zadanlyr@gmail.com> | 2023-09-12 09:46:27 +0700 |
| commit | fc1d22565e08db8c49fa21b498ec1e02455c5c9b (patch) | |
| tree | 02075b4606b6f0c538b0e7833322f9142cbcf51c /next.config.js | |
| parent | 767c58122073f9bd0c5524e587ced5084ec03db6 (diff) | |
Add distDir on next config
Diffstat (limited to 'next.config.js')
| -rw-r--r-- | next.config.js | 1 |
1 files changed, 1 insertions, 0 deletions
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, |
