Skip to content

Commit ac6203a

Browse files
authored
fix: build errors
1 parent 5021882 commit ac6203a

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

src/worker/index.ts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33
*
44
* SPDX-License-Identifier: AGPL-3.0-only
55
*/
6-
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
7-
// @ts-ignore
8-
export const folderWorker = new Worker(new URL('./folder', import.meta.url));
9-
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
10-
// @ts-ignore
11-
export const tagsWorker = new Worker(new URL('./tags', import.meta.url));
6+
import path from 'path';
7+
8+
export const folderWorker = new Worker(path.dirname('./folder.ts'));
9+
export const tagsWorker = new Worker(path.dirname('./tags.ts'));

0 commit comments

Comments
 (0)