Skip to content

Commit

Permalink
fix the zipping of image-counter-lambda as was failing to execute s…
Browse files Browse the repository at this point in the history
…ince 5th October 🤦‍️ (with `Cannot find module './sourcemap-register.js'`)
  • Loading branch information
twrichards committed Nov 6, 2023
1 parent 08d52d4 commit 3a99a27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion image-counter-lambda/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "index.js",
"scripts": {
"test": "jest",
"compile": "ncc build src/handler.ts -o dist -m -e aws-sdk -s && (cd dist; zip image-counter-lambda.zip index.js)"
"compile": "ncc build src/handler.ts -o dist -m -e aws-sdk -s && (cd dist; zip image-counter-lambda.zip *)"
},
"keywords": [],
"author": "",
Expand Down

0 comments on commit 3a99a27

Please sign in to comment.