mirror of
https://github.com/lovell/sharp.git
synced 2025-07-11 19:40:14 +02:00
Docs: AWS Lambda cross-platform no longer requires target flag
This commit is contained in:
parent
cf39fc4fb1
commit
031a58f817
@ -134,7 +134,7 @@ On machines other than Linux x64, such as macOS and Windows, run the following:
|
||||
|
||||
```sh
|
||||
rm -rf node_modules/sharp
|
||||
npm install --arch=x64 --platform=linux --target=12.0.0 sharp
|
||||
npm install --arch=x64 --platform=linux sharp
|
||||
```
|
||||
|
||||
Alternatively a Docker container closely matching the Lambda runtime can be used:
|
||||
|
Loading…
x
Reference in New Issue
Block a user