2020-10-12 19:19:35 -04:00
|
|
|
import './public-path';
|
2018-07-13 21:56:41 -04:00
|
|
|
import { start } from '../mastodon/common';
|
2023-05-31 17:43:39 -04:00
|
|
|
import { loadLocale } from '../mastodon/load_locale';
|
2023-05-23 11:15:17 -04:00
|
|
|
import { loadPolyfills } from '../mastodon/polyfills';
|
2018-07-13 21:56:41 -04:00
|
|
|
|
|
|
|
start();
|
2017-05-11 05:26:06 -04:00
|
|
|
|
2023-05-31 17:43:39 -04:00
|
|
|
loadPolyfills().then(loadLocale).then(async () => {
|
2022-10-03 17:08:38 -04:00
|
|
|
const { default: main } = await import('mastodon/main');
|
2022-10-03 12:15:47 -04:00
|
|
|
|
|
|
|
return main();
|
2017-07-17 18:19:02 -04:00
|
|
|
}).catch(e => {
|
2017-06-11 04:42:42 -04:00
|
|
|
console.error(e);
|
2017-05-30 09:11:15 -04:00
|
|
|
});
|