agutoli / serverless-layers

Serverless.js plugin implementing AWS Lambda Layers, reducing lambda size, warm-up, and deployment time.
MIT License
229 stars 53 forks source link

Fixed error : failed yarn --production on yarn set version stable #156

Open tatsuyoshi-mashiko opened 4 months ago

tatsuyoshi-mashiko commented 4 months ago

The --production flag to yarn install has been removed in Yarn 3, instead you need to use yarn workspaces focus --all --production to avoid installing development dependencies in your production deployment.

I would like it to follow the latest version. If this is going to be a disruptive change, please consider updating a major version.