Check the size of your serverless functions
npm install serverless-plugin-package-size
yml custom: packageLimit: '2mb'
This will fail if your package artifact exceeds 2mb. Supports whatever