glitchier-soc/app/javascript/flavours/glitch/packs/home.js
Renaud Chaput e8415aa727 [Glitch] Rework polyfills loading
Port b640f89777 to glitch-soc

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

10 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);
});