import { getLocale, setLocale } from "@helpers/i18n/configureLocalization"; import "@styles/index.scss"; import.meta.glob("./components/**/*.ts", { eager: true }); window.getLocale = window.getLocale ? window.getLocale.push(getLocale) : [getLocale]; window.setLocale = window.setLocale ? window.setLocale.push(setLocale) : [setLocale]; if (import.meta.env.DEV) { document.addEventListener("DOMContentLoaded", () => { console.groupCollapsed("TEMS Components loaded in DEV mode."); if (window.orbit) { console.groupCollapsed("Orbit Configuration", "window.orbit"); console.info(window.orbit); console.groupEnd(); } console.groupCollapsed("Startin'blox Framework"); if (window.sibStore) { console.groupCollapsed("Store", "window.sibStore"); console.info(window.sibStore); console.groupEnd(); } if (window.sibStore) { console.groupCollapsed("Router", "window.sibRouter"); console.info(window.sibRouter); console.groupEnd(); } console.groupEnd(); console.groupEnd(); }); }