You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mastodon/app/javascript/entrypoints/application.ts

11 lines
239 B
TypeScript

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