feat(frontend): support static website demo mode

This commit is contained in:
foreleven
2026-05-22 21:36:52 +08:00
parent 253542ea0d
commit 4450f14928
20 changed files with 356 additions and 72 deletions
+4
View File
@@ -18,3 +18,7 @@ lint:
format:
pnpm format:write
build-static:
NEXT_CONFIG_BUILD_OUTPUT=standalone SKIP_ENV_VALIDATION=1 NEXT_PUBLIC_STATIC_WEBSITE_ONLY=true pnpm build
@if [ -d .next/static ]; then mkdir -p .next/standalone/.next && cp -R .next/static .next/standalone/.next/static; fi