build: Konfiguration für statische Exporte mit Umgebungsvariable optimiert

- output: "export" wird jetzt automatisch bei EXPORT_STATIC=true aktiviert
- Entwicklungsmodus (npm run dev) nutzt weiterhin API-Routen für Mock-Tests
- Neues npm-Skript nutzt cross-env für Umgebungsunabhängigkeit bei Windows/Linux
- cross-env als devDependency hinzugefügt
This commit is contained in:
ISA
2025-04-22 12:21:20 +02:00
parent cfbc56206c
commit 44ae17f6e8
7 changed files with 45 additions and 8 deletions

View File

@@ -3,3 +3,4 @@ NEXT_PUBLIC_ENCRYPTION_KEY=1
NEXT_PUBLIC_ENCRYPTION_IV=1
NEXT_PUBLIC_USE_MOCK_BACKEND_TDR_START=true
NEXT_PUBLIC_USE_MOCK_BACKEND_LOOP_START=false
NEXT_PUBLIC_EXPORT_STATIC=false