summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--next.config.js5
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);