--- a/dist/opencv.js +++ b/dist/opencv.js @@ UMD wrapper call @@ -}(this, function () { +}(globalThis, function () { Fixes: In browser ESM (