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