-
Notifications
You must be signed in to change notification settings - Fork 585
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wasteful Package Size #2132
Comments
Related #1594 |
Tagging @fishcharlie as you had pointed out about install size of v3. The AWS SDK for JavaScript team is working on reducing the install size of v3 further. |
@trivikr Sorry for the delay here. Haven't actually tried to install it, but looked through the code and changes and everything looks great!! |
Thank you @fishcharlie We removed comments last week, and they were published in
This week, we'll release two new changes in |
@fishcharlie Can you provide more info on how this can be done? It would be awesome if we can retain the package names (say We're not considering publishing packages with different names (say |
Other than the idea of publishing different package names, I'm honestly not sure. I haven't looked into it much, just seemed like a lot of duplication there that could be streamlined. But didn't look into it very much at all. |
Closing this issue as we've implemented most suggestions. Summary of
Created a separate feature request at #2888
Created a separate feature request at #2889 |
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. |
Currently there is a lot of wasted package size. As an example the
client-dynamodb
package, includes files liketsconfig.json
,DynamoDB.ts
, etc.Suggestions:
files
property topackage.json
filesremoveComments
property fortsconfig.json
filescjs
&es
exclude
package.json
fromtsconfig.json
These are just a few ideas.
I have the goal of getting dynamoose package size down as part of v3. Upgrading to v3 of the AWS-SDK helped a ton, but when I investigate further, I noticed these issues with the client-dynamodb package.
Ideally client-dynamodb wouldn't take up 53% of the package install: https://bundlephobia.com/result?p=dynamoose@3.0.0-alpha.1.
I think even just the
files
property would cut the client-dynamodb package size in half (about).The text was updated successfully, but these errors were encountered: