How to reduce bundle size? (ES Import)
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Refactor
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- javascript, webpack
- Domain
- build-system, frontend, performance
Research direction
Start with the reported webpack bundle-size report and the partial-import example in the issue. Inspect how the SoundCloud SDK is packaged and how webpack handles the named imports. Done means identifying a supported way to produce a smaller bundle, with a measurable reduction from the reported 406ko baseline.
Written by the indexing model from the issue text.
Description
Hello there,
Here is my webpack bundle size report, and as you can see, the Soundcloud SDK is pretty big (406ko!):

I tried partial imports, but it doesn't change anything:
import { initialize, get, stream, resolve } from "soundcloud";
Any ideas to reduce it?
Thanks!
- Dominant language
- JavaScript
- Stars
- 388
- Forks
- 76
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from soundcloud/soundcloud-javascript
-
Dependency Dashboard Open
Difficulty 5/5 Over a week Newbie friendliness 15/100
-
Difficulty 5/5 Over a week Newbie friendliness 15/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
soundcloud/soundcloud-javascript#90 · 1 reaction ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Application closed Open
Difficulty 5/5 Over a week Newbie friendliness 20/100
soundcloud/soundcloud-javascript#88 · 3 reactions ·
All issues in soundcloud/soundcloud-javascript
Similar issues
-
awaiting triage bug Causes friction Hop Gui P1 P2 Transforms
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
georgestephanis/p2026#40 ·
-
Enatega Customer and Rider app: Add-ons price is not visible to customer after order is placed. Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Margaret-Petersen/food-delivery-app-clone-react-native#1981 ·