glitch-soc/app/javascript/flavours/glitch/packs/home.js
Renaud Chaput 9e66c07be7 [Glitch] Fix /share and cleanup and reorganize frontend locale loading
Port b0780cfeed to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-06-10 16:18:01 +02:00

12 lines
277 B
JavaScript

import 'packs/public-path';
import { loadLocale } from 'flavours/glitch/locales';
import main from "flavours/glitch/main";
import { loadPolyfills } from 'flavours/glitch/polyfills';
loadPolyfills()
.then(loadLocale)
.then(main)
.catch(e => {
console.error(e);
});