Commit 708b9b6
committed
fix: replace sharp by a stub
we are usinmg @huggingface/transformers only in the browser, so we will never need the sharp dependency. We overwrite it to avoid a problem on `npm install` which appears in rare cases, where a dependency of sharp (libvips) is already installed on the host system.1 parent 362c1e7 commit 708b9b6
4 files changed
Lines changed: 15 additions & 509 deletions
0 commit comments