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