mirror of
https://github.com/lovell/sharp.git
synced 2025-12-19 07:15:08 +01:00
CI/Docs: Deno v2 support
This commit is contained in:
@@ -20,7 +20,7 @@ npm install sharp
|
||||
pnpm add sharp
|
||||
```
|
||||
|
||||
When using `pnpm`, you may need to add `sharp` to
|
||||
When using `pnpm`, add `sharp` to
|
||||
[ignoredBuiltDependencies](https://pnpm.io/settings#ignoredbuiltdependencies)
|
||||
to silence warnings.
|
||||
|
||||
@@ -33,7 +33,8 @@ bun add sharp
|
||||
```
|
||||
|
||||
```sh frame="none"
|
||||
deno run --allow-ffi ...
|
||||
deno add --quiet npm:sharp
|
||||
deno run --allow-env --allow-ffi --allow-read --allow-sys ...
|
||||
```
|
||||
|
||||
## Prerequisites
|
||||
|
||||
Reference in New Issue
Block a user