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;