refactor: move worker to services

Signed-off-by: Varun Patil <radialapps@gmail.com>
monorepo
Varun Patil 2023-10-30 15:50:58 -07:00
parent 93c0d2860b
commit d2116fd213
3 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
import { API } from '@services/API'; import { API } from '@services/API';
import { onDOMLoaded } from '@services/utils'; import { onDOMLoaded } from '@services/utils';
import { workerImporter } from '../../worker'; import { workerImporter } from '@services/worker';
import type * as w from './XImgWorker'; import type * as w from './XImgWorker';
// Global web worker to fetch images // Global web worker to fetch images

View File

@ -1,5 +1,5 @@
import { CacheExpiration } from 'workbox-expiration'; import { CacheExpiration } from 'workbox-expiration';
import { workerExport } from '../../worker'; import { workerExport } from '@services/worker';
declare var self: ServiceWorkerGlobalScope; declare var self: ServiceWorkerGlobalScope;