about summary refs log tree commit diff
path: root/app/javascript/packs/application.js
blob: 0851f69b6820d52b00f8f96b150547fc856ad754 (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 } = import('mastodon/main');

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