catstodon/app/javascript/entrypoints/application.js
2024-04-23 16:45:12 +00:00

15 lines
313 B
JavaScript

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