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

@@ -1,4 +1,15 @@
"use client";
declare global {
interface Window {
win_kueID?: string[];
win_kueLimit1?: number[];
win_kueDelay1?: number[];
win_kueLimit2Low?: number[];
win_kueLimit2High?: number[];
win_kueLoopInterval?: number[];
}
}
import { useDispatch, useSelector } from "react-redux";
import type { RootState } from "../../../../../redux/store";
import { setKueData } from "../../../../../redux/slices/kueDataSlice";