Skip to content

Commit

Permalink
Clean out more files to shrink the layer
Browse files Browse the repository at this point in the history
  • Loading branch information
smorimoto authored and Sparticuz committed Aug 29, 2022
1 parent 449b3c2 commit 0d12279
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ test:
npm pack
mkdir -p nodejs/node_modules/@sparticuz/chrome-aws-lambda/
tar --directory nodejs/node_modules/@sparticuz/chrome-aws-lambda/ --extract --file sparticuz-chrome-aws-lambda-*.tgz --strip-components=1
npx clean-modules --directory nodejs --include "**/*.d.ts" --yes
npx clean-modules --directory nodejs --include "**/*.d.ts" "**/@types/**" "**/*.@(yaml|yml)" --yes
rm sparticuz-chrome-aws-lambda-*.tgz
mkdir -p $(dir $@)
zip -9 --filesync --move --recurse-paths $@ nodejs
Expand Down

0 comments on commit 0d12279

Please sign in to comment.