about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/packs/home.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/javascript/flavours/glitch/packs/home.js')
-rw-r--r--app/javascript/flavours/glitch/packs/home.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/packs/home.js b/app/javascript/flavours/glitch/packs/home.js
new file mode 100644
index 000000000..ace9dc3c4
--- /dev/null
+++ b/app/javascript/flavours/glitch/packs/home.js
@@ -0,0 +1,10 @@
+import 'packs/public-path';
+import loadPolyfills from 'flavours/glitch/load_polyfills';
+
+loadPolyfills().then(async () => {
+  const { default: main } = await import('flavours/glitch/main');
+
+  return main();
+}).catch(e => {
+  console.error(e);
+});