File size: 465 Bytes
811916b f059dc2 811916b f059dc2 811916b |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
// @ts-check
/// <reference lib="webworker" />
if (typeof window !== 'undefined' && typeof window?.alert === 'function'
&& typeof document !== 'undefined' && typeof document?.createElement === 'function') {
import('./app/boot-app.js').then(({ bootApp }) => {
bootApp();
});
} else if (typeof WorkerGlobalScope === 'function' && self instanceof WorkerGlobalScope) {
import('./worker/boot-worker.js').then(({ bootWorker }) => {
bootWorker();
});
}
|