Read this on the main serverless docs site¶
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.
Examples¶
Packaging¶
This example packages your service. The generated package would be the default .serverless directory inside your service.