about summary refs log tree commit diff
path: root/app/javascript/packs/application.js
blob: 020f2b4a0edadaac5b41bcf1c2b2184c520e4f4b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
import './public-path';
import loadPolyfills from '../mastodon/load_polyfills';
import { start } from '../mastodon/common';

start();

loadPolyfills().then(async () => {
  const { default: main } = await import('mastodon/main');

  return main();
}).catch(e => {
  console.error(e);
});