Handles locales as Vite assets

This commit is contained in:
Quentin Gliech
2024-11-14 11:53:43 +01:00
parent 137a53dbee
commit 99d5886e32
32 changed files with 99 additions and 29 deletions

View File

@@ -7,7 +7,7 @@ Please see LICENSE in the repository root for full details.
import "i18next";
// import all namespaces (for the default language, only)
import app from "../../public/locales/en-GB/app.json";
import app from "../../locales/en-GB/app.json";
declare module "i18next" {
interface CustomTypeOptions {