Skip to content

Commit 8381949

Browse files
committed
try bundling more into the lambda package
1 parent a28718c commit 8381949

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/api/build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const commonParams = {
1616
target: "es2022", // Target ES2022
1717
sourcemap: false,
1818
platform: "node",
19-
external: ["aws-sdk", ...packagesToTransfer],
19+
external: ["@aws-sdk/*", ...packagesToTransfer],
2020
alias: {
2121
"moment-timezone": resolve(
2222
process.cwd(),

src/api/createLambdaPackage.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ function getPath() {
1212
export const packagesToTransfer = [
1313
"moment-timezone",
1414
"passkit-generator",
15-
"fastify",
16-
"zod",
1715
"argon2",
1816
"ioredis",
1917
];

0 commit comments

Comments
 (0)