The `rxjs` package is bloated
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 31.7k
- Forks
- 3k
- PR merge metrics
- No merged PRs in 30d
Description
RxJS version: 6.2.0
The package is more than 6 MB. That is a lot for a utility library.
Why is src included in the package? Source maps and TS definition files are already included for each JS file, so I don't see the need to include the TS source files too.
There's also a lot of bloat related to browser support: bundles, _esm5, _esm2015 (3.8 MB in total). Would you consider publishing a separate package for Node.js usage without all the bloat? For example, rxjs-node.

Contributor guide
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.
Research direction
Start by inspecting the published package contents named in the issue: src, bundles, _esm5, and _esm2015, and compare their sizes and purpose. Done would require an agreed packaging approach that removes unnecessary artifacts or provides a smaller Node.js package, with the resulting contents verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, typescript
- Domain
- build-system, release
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100