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