1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00
mastodon/app/javascript/entrypoints/application.ts

15 lines
324 B
TypeScript

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: unknown) => {
console.error(e);
});