[Glitch] Rework polyfills loading

Port a3a2414f0e to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Renaud Chaput
2023-05-09 14:55:35 +02:00
committed by Claire
parent e22a88b512
commit 526fe33e2f
7 changed files with 17 additions and 29 deletions

View File

@@ -1,5 +1,5 @@
import 'packs/public-path';
import loadPolyfills from 'flavours/glitch/load_polyfills';
import { loadPolyfills } from 'flavours/glitch/polyfills';
loadPolyfills().then(async () => {
const { default: main } = await import('flavours/glitch/main');