diff --git a/src/main/content/replays/parse-replay.ts b/src/main/content/replays/parse-replay.ts index 7e53dccf..9ca8a254 100644 --- a/src/main/content/replays/parse-replay.ts +++ b/src/main/content/replays/parse-replay.ts @@ -45,7 +45,7 @@ export async function parseReplay(replayPath: string) { export function asyncParseReplay(replayFilePath: string): Promise { return new Promise((resolve, reject) => { - const worker = new Worker(path.join(__dirname, "parse-replay-worker.js"), { + const worker = new Worker(path.join(__dirname, "parse-replay-worker.cjs"), { workerData: { replayFilePath }, }); worker.on("message", resolve);