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