Skip to content

dougmoscrop/serverless-plugin-package-size

Repository files navigation

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.

About

Just a small plugin to guard against huge deployment packages

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •