fix: 抑制警告
This commit is contained in:
1 parent
55346b2069
commit
437dba3d78
1 file changed
+1
-1
+1
-1
@@ -12,7 +12,7 @@ const EXIT_CODES = [0, 255];
|
|||||||
const FFMPEG_PATH = process.env.FFMPEG_PATH ?? 'ffmpeg';
|
const FFMPEG_PATH = process.env.FFMPEG_PATH ?? 'ffmpeg';
|
||||||
|
|
||||||
async function getWorkerPath() {
|
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<EncodeArgs, EncodeResult>({
|
const piscina = new Piscina<EncodeArgs, EncodeResult>({
|
||||||
|
|||||||
Reference in new issue
Block a user