diff options
| author | Rafi Zadanly <zadanlyr@gmail.com> | 2023-12-01 10:52:25 +0700 |
|---|---|---|
| committer | Rafi Zadanly <zadanlyr@gmail.com> | 2023-12-01 10:52:25 +0700 |
| commit | 878df94bba6311d611a4c42931da57d89ca0285f (patch) | |
| tree | 1e05f13ec25e722abe8523cbcb465afdb5dadc8f | |
| parent | ae3207e9778c3f2fb01d64714ff15fc073ec093d (diff) | |
Update next.config.js
| -rw-r--r-- | next.config.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/next.config.js b/next.config.js index cb8597e..fb9fe8f 100644 --- a/next.config.js +++ b/next.config.js @@ -9,6 +9,9 @@ const withPWA = require("@ducanh2912/next-pwa").default({ workboxOptions: { disableDevLogs: true }, }); -const nextConfig = {}; +/** @type {import('next').NextConfig} */ +const nextConfig = { + distDir: process.env.BUILD_DIR || ".next", +}; module.exports = withPWA(nextConfig); |
