refactor: restructure next.config.js for clarity and organization
This commit is contained in:
parent
b523c66703
commit
132312a9f7
@ -1,4 +1,7 @@
|
|||||||
|
// next.config.js
|
||||||
/** @type {import('next').NextConfig} */
|
/** @type {import('next').NextConfig} */
|
||||||
module.exports = {
|
const nextConfig = {
|
||||||
|
distDir: 'build', // 改变默认的 .next 目录
|
||||||
reactStrictMode: true,
|
reactStrictMode: true,
|
||||||
};
|
};
|
||||||
|
module.exports = nextConfig;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user