Skip to content

Commit

Permalink
chore: mitigate ci build intermitent failure
Browse files Browse the repository at this point in the history
  • Loading branch information
zxkane committed May 19, 2024
1 parent eb0a137 commit 5d86c71
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/private/function.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,13 @@ export class SolutionNodejsFunction extends NodejsFunction {
bundling: props?.bundling ? {
...props.bundling,
externalModules: props.bundling.externalModules?.filter(p => p === '@aws-sdk/*') ?? [],
environment: {
NODE_ENV: 'production',
},
esbuildArgs: { // Pass additional arguments to esbuild
'--log-limit': '0',
'--log-level': 'debug',
},
} : {
externalModules: [],
},
Expand Down

0 comments on commit 5d86c71

Please sign in to comment.