diff --git a/lib/plugins/esbuild/index.js b/lib/plugins/esbuild/index.js index 910197f09..d86457333 100644 --- a/lib/plugins/esbuild/index.js +++ b/lib/plugins/esbuild/index.js @@ -362,6 +362,10 @@ class Esbuild { return limit(async () => { const functionName = path.extname(functionObject[handlerPropertyName]).slice(1); const handlerPath = functionObject[handlerPropertyName].replace(`.${functionName}`, ''); + console.log('ESBUILD_BINARY_PATH FOR BUILD', process.env.ESBUILD_BINARY_PATH); + if(!existsSync(process.env.ESBUILD_BINARY_PATH)) { + console.log('ESBUILD_BINARY_PATH DOES NOT EXIST', process.env.ESBUILD_BINARY_PATH); + } await esbuild.build({ ...buildProperties, platform: 'node',