Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

How to reduce bundle size? (ES Import)

Open
#100 0 comments 0 reactions 0 assignees View on GitHub

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

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!):
image

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from soundcloud/soundcloud-javascript

All issues in soundcloud/soundcloud-javascript

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.