Skip to content

Commit cb9eaf9

Browse files
flochazFlorian Chazal
and
Florian Chazal
authored
chore(layer): reduce size by 3 by removing @types packages (#1181)
Co-authored-by: Florian Chazal <[email protected]>
1 parent d717a26 commit cb9eaf9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: layer-publisher/src/powertools-typescript-layer.ts

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ export class PowerToolsTypeScriptLayer extends lambda.LayerVersion {
3030
@aws-lambda-powertools/logger@${version} \
3131
@aws-lambda-powertools/metrics@${version} \
3232
@aws-lambda-powertools/tracer@${version}`,
33+
'rm -rf node_modules/@types',
3334
'rm package.json package-lock.json',
3435
];
3536
const commandJoined = commands.join(' && ');

0 commit comments

Comments
 (0)