diff --git a/src/common/audio.ts b/src/common/audio.ts index cb61b867..6f849d6c 100644 --- a/src/common/audio.ts +++ b/src/common/audio.ts @@ -12,7 +12,7 @@ const EXIT_CODES = [0, 255]; const FFMPEG_PATH = process.env.FFMPEG_PATH ?? 'ffmpeg'; async function getWorkerPath() { - return new URL('./audio-worker.mjs', import.meta.url).href; + return new URL(/* @vite-ignore */ './audio-worker.mjs', import.meta.url).href; } const piscina = new Piscina({