Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion cfn-parameters.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
"CodeBranch": $env.GITHUB_REF_SLUG_CS,
"Hostname": "api.catalog.platform.serverlessops.io",
"DnsZoneId": $secrets.ROUTE53_ZONE_ID,
"CognitoUserPoolArn": $secrets.COGNITO_USER_POOL_ARN
"CognitoUserPoolArn": $secrets.COGNITO_USER_POOL_ARN,
"EnableSourceMaps": true
Comment thread
tmclaugh marked this conversation as resolved.
}
6 changes: 5 additions & 1 deletion template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,10 @@ Resources:
Metadata:
BuildMethod: esbuild
BuildProperties:
Minify: true
Minify: false
Comment thread
tmclaugh marked this conversation as resolved.
Target: "es2024"
Format: "esm"
MainFields: module,main # This is to help with ESM modules
Comment thread
tmclaugh marked this conversation as resolved.
Sourcemap: !Ref EnableSourceMaps
OutExtension:
- .js=.mjs
Expand Down Expand Up @@ -108,6 +109,7 @@ Resources:
Minify: true
Target: "es2024"
Format: "esm"
MainFields: module,main # This is to help with ESM modules
Comment thread
tmclaugh marked this conversation as resolved.
Sourcemap: !Ref EnableSourceMaps
OutExtension:
- .js=.mjs
Expand Down Expand Up @@ -136,6 +138,7 @@ Resources:
Minify: true
Target: "es2024"
Format: "esm"
MainFields: module,main # This is to help with ESM modules
Comment thread
tmclaugh marked this conversation as resolved.
Sourcemap: !Ref EnableSourceMaps
OutExtension:
- .js=.mjs
Expand Down Expand Up @@ -164,6 +167,7 @@ Resources:
Minify: true
Target: "es2024"
Format: "esm"
MainFields: module,main # This is to help with ESM modules
Comment thread
tmclaugh marked this conversation as resolved.
Sourcemap: !Ref EnableSourceMaps
OutExtension:
- .js=.mjs
Expand Down
Loading