-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
Aws cdk generates next command on lambda build via esbuild
npx esbuild --bundle path/index.ts --target=node20 --platform=node --outfile=test-index.js '--external:@aws-sdk/*'
with version 0.22.0 it makes build with unbundled dependencies, as aws expect to bundle by default - builds are failing
with version v0.21.0 all works as expected.
If you build lambda via default docker is uses next command "npm install -g esbuild@0" to install latest esbuild, so literally all lambda builds via aws docker are failing
yarbsemaj, SimonMarchantGB, martzmakes, TheRealAmazonKendra, VanTanev and 3 moresilverwind
Metadata
Metadata
Assignees
Labels
No labels