ffmpeg: allow import in nodejs (#577)

* Add empty node module

* Switch to empty.mts
This commit is contained in:
Elia872
2023-10-09 15:37:08 +02:00
committed by GitHub
parent 6386757610
commit 26f0e482da
2 changed files with 12 additions and 2 deletions

View File

@@ -0,0 +1,7 @@
// File to be imported in node enviroments
export class FFmpeg {
constructor() {
throw new Error("ffmpeg.wasm does not support nodejs");
}
}