You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
The modular packages in AWS SDK for JavaScript (v3) reduce the bundle size on tree-shaking, but the clients take too much space in node_modules. This affects runtime environments where users do not bundle the SSDK (like AWS Lambda).
trivikr
changed the title
Reduce install size of clients by removing unnecessary code from published tarball
Reduce install size of clients by removing unnecessary files from published tarball
Sep 20, 2021
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.
Is your feature request related to a problem? Please describe.
The modular packages in AWS SDK for JavaScript (v3) reduce the bundle size on tree-shaking, but the clients take too much space in node_modules. This affects runtime environments where users do not bundle the SSDK (like AWS Lambda).
Script to compute bundle sizes for clients
Bundle sizes of clients
Total size: 803.77 MB
Describe the solution you'd like
Reduce the install size of the clients by taking the following steps:
dist
folders.*.js
files.*.dts
files.Example repo: https://github.com/trivikr/temp-client-s3
Additional context
This is a tracking issue for reducing publish size of clients.
Previous issues:
The text was updated successfully, but these errors were encountered: