including specific RxJS operators

AngularNerd

lodash CLI allows you to generate a package with specific functions like "throttle". Can the same thing be done with RxJS?

Here is the lodash example command:

lodash include=throttle

It generates a 2kb minimized JS file. Hoping for something similar with RxJS.

OJ Kwon

There isn't specific CLI tools to generate those kind of set. RxJS instead recommends import specific operator and let build tools configure it. https://github.com/ReactiveX/rxjs/blob/master/doc/lettable-operators.md#build-and-treeshaking

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related