Edit on github

#Google - package

The sls package command packages your entire infrastructure into the .serverless directory by default and make it ready for deployment. You can specify another packaging directory by passing the --package option.

serverless package

#Examples

#Packaging

serverless package

This example packages your service. The generated package would be the default .serverless directory inside your service.