From 878df94bba6311d611a4c42931da57d89ca0285f Mon Sep 17 00:00:00 2001 From: Rafi Zadanly Date: Fri, 1 Dec 2023 10:52:25 +0700 Subject: Update next.config.js --- next.config.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'next.config.js') 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); -- cgit v1.2.3