mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-02-27 13:03:50 -05:00
Port 44cd88adc4e2f4028dcc2b08b98368f0dc90cee4 to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
12 lines
322 B
JavaScript
12 lines
322 B
JavaScript
import 'packs/public-path';
|
|
import { loadLocale } from 'flavours/glitch/load_locale';
|
|
import { loadPolyfills } from 'flavours/glitch/polyfills';
|
|
|
|
loadPolyfills().then(loadLocale).then(async () => {
|
|
const { default: main } = await import('flavours/glitch/main');
|
|
|
|
return main();
|
|
}).catch(e => {
|
|
console.error(e);
|
|
});
|