mastodon/app/javascript/entrypoints/application.ts
2025-05-06 22:02:24 +02:00

14 lines
290 B
TypeScript

import { start } from 'mastodon/common';
import { loadLocale } from 'mastodon/locales';
import main from 'mastodon/main';
import { loadPolyfills } from 'mastodon/polyfills';
start();
loadPolyfills()
.then(loadLocale)
.then(main)
.catch((e: unknown) => {
console.error(e);
});