From db2d0fe05a4ee63ebabe68eb2446adbe29763e4a Mon Sep 17 00:00:00 2001 From: Jay Date: Wed, 28 Aug 2024 17:50:04 -0400 Subject: [PATCH] Update README.md --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4b0ec87..3ef525f 100644 --- a/README.md +++ b/README.md @@ -33,9 +33,11 @@ import sharp from 'sharp' Check out [aws: Creating and sharing Lambda layers](https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html) for more details. -This package can be used with [sst](https://sst.dev). Check out [docs.sst.dev: Lambda Layers](https://docs.sst.dev/advanced/lambda-layers) and [sst.dev: Resize Images](https://sst.dev/examples/how-to-automatically-resize-images-with-serverless.html) for examples. +This package can be used with [sst v2](https://v2.sst.dev). Check out [docs.sst.dev: Lambda Layers](https://v2.sst.dev/advanced/lambda-layers) and [sst.dev: Resize Images](https://guide.sst.dev/examples/how-to-automatically-resize-images-with-serverless.html) for examples. -### Setting arm64 for sst functions +For [sst v3](https://sst.dev), you need to set `sharp` in the `nodejs.install` array. [Check out the example](https://sst.dev/docs/examples/#sharp-image-resizer). + +### Setting arm64 for sst v2 functions ```js function: {