Skip to content

Commit

Permalink
chore(layer): reduce size by 3 by removing @types packages (#1181)
Browse files Browse the repository at this point in the history
Co-authored-by: Florian Chazal <[email protected]>
  • Loading branch information
flochaz and Florian Chazal authored Nov 23, 2022
1 parent d717a26 commit cb9eaf9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions layer-publisher/src/powertools-typescript-layer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ export class PowerToolsTypeScriptLayer extends lambda.LayerVersion {
@aws-lambda-powertools/logger@${version} \
@aws-lambda-powertools/metrics@${version} \
@aws-lambda-powertools/tracer@${version}`,
'rm -rf node_modules/@types',
'rm package.json package-lock.json',
];
const commandJoined = commands.join(' && ');
Expand Down

0 comments on commit cb9eaf9

Please sign in to comment.