perf(style): codex-skills/cowa-admin-list-ui

This commit is contained in:
zhangheng
2026-04-28 14:36:36 +08:00
parent 2e33b6fd7e
commit 9d9bf4ff7f
20 changed files with 2672 additions and 812 deletions

View File

@@ -1,13 +1,19 @@
import type { NextConfig } from "next"
import { subConfigList } from "./components/layout/common"
const isDevelopment = process.env.NODE_ENV === "development"
const nextConfig: NextConfig = {
/* config options here */
basePath: process.env.NEXT_PUBLIC_BASE_PATH,
output: process.env.NEXT_PUBLIC_OUTPUT_TYPE as
| "standalone"
| "export"
| undefined,
// Keep build-time output selection for production builds, but avoid
// surfacing export/middleware warnings in `next dev`.
output: isDevelopment
? undefined
: (process.env.NEXT_PUBLIC_OUTPUT_TYPE as
| "standalone"
| "export"
| undefined),
async rewrites() {
// 应用代理baseAppProxy
const repoProxy = subConfigList.map(({ source, url }) => {