perf(style): codex-skills/cowa-admin-list-ui
This commit is contained in:
@@ -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 }) => {
|
||||
|
||||
Reference in New Issue
Block a user