Skip to content

Commit 78e1eb0

Browse files
committed
fix vite
1 parent 4551509 commit 78e1eb0

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

packages/tools/src/utilities/registerComputeWorker.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export function registerComputeWorker() {
1313
// @ts-ignore
1414
return new Worker(
1515
// @ts-ignore
16-
new URL('../workers/computeWorker.ts', import.meta.url),
16+
new URL('../workers/computeWorker.js', import.meta.url),
1717
{
1818
name: 'compute',
1919
type: 'module',

0 commit comments

Comments
 (0)