serverless-layers
serverless-layers copied to clipboard
npm warnings for --only=prod
When deploying with Node v18.16.1 and npm v.9.5.1, I'm getting:
npm WARN config production Use `--omit=dev` instead.
npm WARN config only Use `--omit=dev` to omit dev dependencies from the install.
I think we could change the npm command from:
npm install --production --only=prod
to
npm install --production --omit=dev