From 132312a9f7364282bff6a4779d56d40f23a1b36e Mon Sep 17 00:00:00 2001 From: onedooneget Date: Wed, 16 Jul 2025 17:49:46 +0800 Subject: [PATCH] refactor: restructure next.config.js for clarity and organization --- next.config.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/next.config.js b/next.config.js index 10b597c..a652e9b 100644 --- a/next.config.js +++ b/next.config.js @@ -1,4 +1,7 @@ +// next.config.js /** @type {import('next').NextConfig} */ -module.exports = { +const nextConfig = { + distDir: 'build', // 改变默认的 .next 目录 reactStrictMode: true, -}; \ No newline at end of file +}; +module.exports = nextConfig;