refactor: move worker to services
Signed-off-by: Varun Patil <radialapps@gmail.com>monorepo
parent
93c0d2860b
commit
d2116fd213
|
@ -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
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue