From a0e993abbe562d9802fa4ad772a00d2a89f81750 Mon Sep 17 00:00:00 2001 From: Katy Huang Date: Mon, 29 Apr 2024 22:49:34 -0700 Subject: [PATCH] fix:serverless config --- apps/server/serverless.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/server/serverless.ts b/apps/server/serverless.ts index 25be799a..0638a3cc 100644 --- a/apps/server/serverless.ts +++ b/apps/server/serverless.ts @@ -23,7 +23,10 @@ const serverlessConfiguration: AWS = { }, // import the function via paths functions: functions, - package: { individually: true }, + package: { + individually: true, + include: ["certs/*", "src/functions/cron/*"], + }, custom: { esbuild: { bundle: true, @@ -34,7 +37,6 @@ const serverlessConfiguration: AWS = { define: { "require.resolve": undefined }, platform: "node", concurrency: 10, - assets: [{ path: "certs/", glob: "**/*.pem" }], }, }, };