Initial Vite Configuration & addition of prettierrc.

This commit is contained in:
Patrick Fic
2024-02-26 09:48:09 -08:00
parent 48a007de3c
commit f190c26311
45 changed files with 10400 additions and 6945 deletions

View File

@@ -13,14 +13,14 @@ const resources = {
"es-MX": es_Translation,
};
i18n
.use(initReactI18next)
.use(LanguageDetector) // passes i18n down to react-i18next
.init({
resources,
//lng: "en",
detection: {},
fallbackLng: "en-US",
debug: process.env.NODE_ENV === "production" ? false : true,
.use(initReactI18next)
.use(LanguageDetector) // passes i18n down to react-i18next
.init({
resources,
//lng: "en",
detection: {},
fallbackLng: "en-US",
debug: import.meta.env.PROD ? false : true,
//keySeparator: false, // we do not use keys in form messages.welcome