I just took a leap from angular QuickStart for 2.0.0-rc2 and updated system-config.ts file to download umd file for rxjs I.e rxjs\bundles\Rx.umd.js
This worked. But I still see in dev tools a lot of individual JS being load like rxjs\observer.js
I see http.umd.js from @angular reference it directly via
import {Observer} from 'rxjs\observer
Is there any way to just load single Rx.umd.js or we have to live with unbundled files as well.
Ps: my dist folder has non bundled rxjs file as well because I am in middle of switching to umd.js which I will correct later.
It is now possible to ship a small number of UMD or FESM bundles, one for each of the handful of imports (rxjs, rxjs/operators, etc.).
For example:
import { Observable, Subject, ReplaySubject, from, of, range } from 'rxjs';
import { map, filter, switchMap } from 'rxjs/operators';
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With