feat:环境变量处理

This commit is contained in:
MatrixSeven
2025-08-01 19:38:59 +08:00
parent 664fe2fdaa
commit dbfdbf0116
15 changed files with 396 additions and 1035 deletions

View File

@@ -4,9 +4,15 @@
"private": true,
"scripts": {
"dev": "next dev --turbopack",
"dev:prod": "NODE_ENV=production next dev --turbopack",
"build": "next build",
"build:dev": "NODE_ENV=development next build",
"build:prod": "NODE_ENV=production next build",
"start": "next start",
"lint": "next lint"
"start:dev": "NODE_ENV=development next start",
"start:prod": "NODE_ENV=production next start",
"lint": "next lint",
"env:check": "node -e \"console.log('Environment:', process.env.NODE_ENV); console.log('GO_BACKEND_URL:', process.env.GO_BACKEND_URL);\""
},
"dependencies": {
"@radix-ui/react-avatar": "^1.1.10",