Updated on 2025-12-10 GMT+08:00

Package

The serverless package command packages your entire infrastructure into the .serverless directory by default and makes it ready for deployment.

package Command

serverless package

In this example, your service will be packaged. The package will be generated in the default .serverless directory.