diff --git a/lib/plugins/esbuild/index.js b/lib/plugins/esbuild/index.js index da59c792f..1c9f24d9c 100644 --- a/lib/plugins/esbuild/index.js +++ b/lib/plugins/esbuild/index.js @@ -412,7 +412,7 @@ class Esbuild { // If not packaging individually then package all functions together into a single zip if (!this.serverless?.service?.package?.individually) { - await this._packageAll(handlerPropertyName); + await this._packageAll(functions, handlerPropertyName); return; }