summaryrefslogtreecommitdiffstats
path: root/app/javascript/entrypoints/application.js
blob: d13388b4791620abadd3d63449bab4dd370445e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import './public-path';
import main from "mastodon/main";

import { start } from '../mastodon/common';
import { loadLocale } from '../mastodon/locales';
import { loadPolyfills } from '../mastodon/polyfills';

start();

loadPolyfills()
  .then(loadLocale)
  .then(main)
  .catch(e => {
    console.error(e);
  });