mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2026-07-30 10:32:56 +00:00
build web with optional ui languages
This commit is contained in:
12
interface/src/vite-env.d.ts
vendored
12
interface/src/vite-env.d.ts
vendored
@@ -1 +1,13 @@
|
||||
/// <reference types="vite/client" />
|
||||
|
||||
interface ImportMetaEnv {
|
||||
// Optional comma-separated allow-list of locales to ship (e.g. "en,de,nl").
|
||||
// Unset => all locales are bundled and embedded. `en` is always kept as the
|
||||
// fallback. Consumed by App.tsx (UI language list) and progmem-generator.js
|
||||
// (which locale chunks get embedded into firmware flash).
|
||||
readonly VITE_APP_LOCALES?: string;
|
||||
}
|
||||
|
||||
interface ImportMeta {
|
||||
readonly env: ImportMetaEnv;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user