1
0
mirror of https://github.com/mastodon/mastodon synced 2024-12-27 13:08:14 +09:00
mastodon/app/javascript/entrypoints/application.ts

16 lines
324 B
TypeScript
Raw Normal View History

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);
});