From e7969b63d80de0dde2268c7dceade99b99fcb716 Mon Sep 17 00:00:00 2001 From: Anthony Brown <121869075+anthony-nhs@users.noreply.github.com> Date: Mon, 1 Jul 2024 13:19:24 +0000 Subject: [PATCH] fix esbuild --- SAMtemplates/functions/main.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/SAMtemplates/functions/main.yaml b/SAMtemplates/functions/main.yaml index b7597601f..aebc9ca81 100644 --- a/SAMtemplates/functions/main.yaml +++ b/SAMtemplates/functions/main.yaml @@ -59,6 +59,7 @@ Resources: Target: es2020 Sourcemap: true tsconfig: updatePrescriptionStatus/tsconfig.json + packages: bundle EntryPoints: - updatePrescriptionStatus/src/updatePrescriptionStatus.ts @@ -97,6 +98,7 @@ Resources: Target: es2020 Sourcemap: true tsconfig: cpsuLambda/tsconfig.json + packages: bundle EntryPoints: - cpsuLambda/src/cpsu.ts @@ -133,6 +135,7 @@ Resources: Target: es2020 Sourcemap: true tsconfig: gsul/tsconfig.json + packages: bundle EntryPoints: - gsul/src/getStatusUpdates.ts @@ -172,6 +175,7 @@ Resources: Target: es2020 Sourcemap: true tsconfig: statusLambda/tsconfig.json + packages: bundle EntryPoints: - statusLambda/src/statusLambda.ts @@ -207,6 +211,7 @@ Resources: Target: es2020 Sourcemap: true tsconfig: capabilityStatement/tsconfig.json + packages: bundle EntryPoints: - capabilityStatement/src/capabilityStatement.ts