From ed67c9f96f3c7d69cc2b18deaddb0bd3ab753f3f Mon Sep 17 00:00:00 2001 From: Tom McLaughlin Date: Sun, 28 Jun 2026 15:33:30 -0400 Subject: [PATCH] Removing SourceMap enable as no longer needed. Revert "create sourcemaps and don't minify CreateEntity function" This reverts commit b8815148f7ca519b3978e166a4e2bcc8c9b77b86. --- cfn-parameters.json | 3 +-- template.yaml | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/cfn-parameters.json b/cfn-parameters.json index 39900ff..a9e1b0e 100644 --- a/cfn-parameters.json +++ b/cfn-parameters.json @@ -5,6 +5,5 @@ "CodeBranch": $env.GITHUB_REF_SLUG_CS, "Hostname": "api.catalog.platform.serverlessops.io", "DnsZoneId": $secrets.ROUTE53_ZONE_ID, - "CognitoUserPoolArn": $secrets.COGNITO_USER_POOL_ARN, - "EnableSourceMaps": true + "CognitoUserPoolArn": $secrets.COGNITO_USER_POOL_ARN } \ No newline at end of file diff --git a/template.yaml b/template.yaml index 45f282e..c29b983 100644 --- a/template.yaml +++ b/template.yaml @@ -77,7 +77,7 @@ Resources: Metadata: BuildMethod: esbuild BuildProperties: - Minify: false + Minify: true Target: "es2024" Format: "esm" MainFields: module,main # This is to help with ESM modules