mastodon/app/javascript/flavours/glitch/packs/home.js
Renaud Chaput 526fe33e2f [Glitch] Rework polyfills loading
Port a3a2414f0e to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-05-09 23:20:24 +02:00

11 lines
247 B
JavaScript

import 'packs/public-path';
import { loadPolyfills } from 'flavours/glitch/polyfills';
loadPolyfills().then(async () => {
const { default: main } = await import('flavours/glitch/main');
return main();
}).catch(e => {
console.error(e);
});