diff --git a/scripts/lambda.js b/scripts/lambda.js index f74852d5..43401769 100644 --- a/scripts/lambda.js +++ b/scripts/lambda.js @@ -56,7 +56,6 @@ rm("lambda/layer.zip") rm("node_modules/.lambda", { recursive: true }) cpSync("lambda", "node_modules/.lambda", { recursive: true }) replace("node_modules/.lambda/package.json") -replace("node_modules/.lambda/shim.cjs") replace("node_modules/.lambda/shim.mjs") execSync("touch yarn.lock && yarn install", { @@ -102,9 +101,6 @@ archive.directory( "node_modules/.lambda/node_modules/", "solarwinds-apm/node_modules/", ) -archive.file("node_modules/.lambda/shim.cjs", { - name: "solarwinds-apm/shim.cjs", -}) archive.file("node_modules/.lambda/shim.mjs", { name: "solarwinds-apm/shim.mjs", })