question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bundle sizes are way too large

See original GitHub issue

AWS SDK v3 creates bundle sizes that are way too large. We use a few clients, and it is adding 2.3MB of code (out of 3.8MB), which is ~ 60% of our total bundle size.

screenshot-20211115T143520-APQaQm7K

At this point I don’t see any reason for using the modular version when the entire aws-sdk@2 is just 2.9MB and doesn’t even need to be bundled, as it is already pre-installed.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:4
  • Comments:14 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
moltarcommented, Dec 17, 2021

@suds-sky nice one!! That’s amazing.

0reactions
github-actions[bot]commented, May 21, 2022

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Small Bundles, Fast Pages: What To Do With Too Much ...
The effects of a large bundle can be partially mitigated by caching, compressing and minifying script resources, though reducing the size of a ......
Read more >
5 Methods to Reduce JavaScript Bundle Size - Bits and Pieces
1. Code Splitting with Webpack. Code splitting allows you to separate your code into bundles and load them on-demand. There are multiple ways ......
Read more >
Slimming down your bundle size - LogRocket Blog
A critical part for improving frontend performance is to reduce the JavaScript bundle size that should be downloaded via the network.
Read more >
3 ways to reduce webpack bundle size - Jakob Lind
3 ways to reduce webpack bundle size · Easy: Run webpack in production mode · Medium: use an analyzer tool such as webpack-bundle-analyzer...
Read more >
Optimize Angular bundle size in 4 steps | by Siyang Kern Zhao
To check if you have gzipped your files, just open the network tab of developer console. In the “Response Headers”, if you should...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found