From a416a255fb454ea2ff98a1bc21bb85bc535e8bef Mon Sep 17 00:00:00 2001 From: Max Marze Date: Wed, 8 May 2024 17:35:47 -0400 Subject: [PATCH] ci: setup esbuild for integration tests --- lib/plugins/esbuild/index.js | 4 ++++ 1 file changed, 4 insertions(+) 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',