Uh oh!
There was an error while loading. Please reload this page.
Merge bug/1 createentityfunction fails - #4
Conversation
Since this commit was deployed functions have been failing. No clue why since this should be the default value used when not set. Let's see if this fixes it. Revert "remove unnecessary config for functions" This reverts commit 4e04adf.
There was a problem hiding this comment.
Pull request overview
Adjusts the AWS SAM esbuild build configuration to address the CreateEntity Lambda build/runtime failure related to ESM dependency resolution, and enables source maps via deployment parameters for easier debugging.
Changes:
- Disable minification for
CreateEntityFunctionand addMainFieldsto esbuildBuildPropertiesacross functions to prefer ESM entry points. - Enable source maps through a new
EnableSourceMapsvalue incfn-parameters.json.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 6 comments.
| File | Description |
|---|---|
| template.yaml | Updates esbuild BuildProperties (minification and MainFields) for Lambda functions to improve ESM module resolution and debugging behavior. |
| cfn-parameters.json | Adds EnableSourceMaps parameter value to turn on source maps during deployment. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
No description provided.