summaryrefslogtreecommitdiffstats
path: root/app/javascript/application.js
blob: 523942d78eb46bed1070161537ce58ba1a4e00d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
import 'mastodon/public-path';
import loadPolyfills from 'mastodon/load_polyfills';
import { start } from 'mastodon/common';

start();

loadPolyfills().then(() => {
  require('mastodon/main').default();
}).catch(e => {
  console.error(e);
});