Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
neg4n committed Apr 11, 2022
1 parent 7c34a42 commit 7bdaec2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ _you can treat this project as simpler and configurable version of mentioned ear
In your [Next.js][next-homepage] project, execute:

```sh
npm i next-api-og-image@3.0.0 chrome-aws-lambda
npm i next-api-og-image chrome-aws-lambda
# or
yarn add next-api-og-image@3.0.0 chrome-aws-lambda
yarn add next-api-og-image chrome-aws-lambda
```
### Short note about the peer dependencies

> ℹ️ If your serverless function does not fit in the allowed size frames on [Vercel][vercel] **(50MB)**, you may want to install older versions of `chrome-aws-lambda`
In order to do so, replace `chrome-aws-lambda` _(while adding the dependencies)_ with `chrome-aws-lambda@2.1.1` **(43.3MB)** or `chrome-aws-lambda@1.6.3` **(34.9MB)**
In order to do so, replace `chrome-aws-lambda` _(while adding the dependencies)_ with `chrome-aws-lambda@6.0.0` **(47.6 MB)**

Please, refer to https://github.com/neg4n/next-api-og-image/issues/23#issuecomment-1090319079 for more info 🙏

Expand Down

0 comments on commit 7bdaec2

Please sign in to comment.