feat: improve unified config system and build process

- Enhance unified config environment variable loading with better precedence
- Add environment-aware validation (production validation only when NODE_ENV=production)
- Add environment-specific build commands (build:dev, build:prod, build:staging)
- Improve configuration debugging with cleaner logging
- Remove unnecessary development warnings
- Provides more flexible and maintainable configuration system
This commit is contained in:
William Valentin
2025-09-08 20:43:02 -07:00
parent 9132d78bfa
commit 25b68ee67d
2 changed files with 36 additions and 29 deletions

View File

@@ -6,7 +6,10 @@
"scripts": {
"predev": "./scripts/process-html.sh",
"dev": "vite",
"build": "vite build",
"build": "NODE_ENV=development vite build",
"build:prod": "NODE_ENV=production vite build",
"build:dev": "NODE_ENV=development vite build",
"build:staging": "NODE_ENV=staging vite build",
"preview": "vite preview",
"lint": "eslint . --ext .ts,.tsx",
"lint:fix": "eslint . --ext .ts,.tsx --fix",