Skip to content

Commit

Permalink
fix:serverless config
Browse files Browse the repository at this point in the history
  • Loading branch information
KatyH820 committed Apr 30, 2024
1 parent 0f37ca8 commit a0e993a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions apps/server/serverless.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -34,7 +37,6 @@ const serverlessConfiguration: AWS = {
define: { "require.resolve": undefined },
platform: "node",
concurrency: 10,
assets: [{ path: "certs/", glob: "**/*.pem" }],
},
},
};
Expand Down

0 comments on commit a0e993a

Please sign in to comment.