feat:重构UI

This commit is contained in:
2025-12-26 16:03:12 +08:00
parent 1429e0e66a
commit abcbe3cddc
67 changed files with 12170 additions and 515 deletions

View File

@@ -1,6 +1,15 @@
/** @type {import('next').NextConfig} */
const isProd = process.env.NODE_ENV === 'production'
const nextConfig = {
output: 'standalone',
// Avoid dev/prod builds clobbering each other on Windows (causing missing _next/static files).
...(isProd ? { output: 'standalone' } : {}),
distDir: isProd ? '.next-prod' : '.next-dev',
webpack: (config, { dev }) => {
// Webpack filesystem cache is occasionally flaky on Windows and can lead to missing vendor-chunks.
if (dev) config.cache = false
return config
},
}
module.exports = nextConfig