serverless-plugin-package-size

1.1.3 • Public • Published

serverless-plugin-package-size

Helps avoid accidentally deploying huge artifacts that are either slow to load, can't be debugged, etc.

cat serverless.yml

custom:
  packageLimit: '2mb'

This will fail if your package artifact exceeds 2mb. Supports whatever bytes-iec supports for the limit expression.

Package Sidebar

Install

npm i serverless-plugin-package-size

Weekly Downloads

822

Version

1.1.3

License

MIT

Unpacked Size

3.67 kB

Total Files

3

Last publish

Collaborators

  • dougmoscrop