Angular-oauth2-oidc: No need to import all of rxjs

Created on 11 Aug 2017  路  3Comments  路  Source: manfredsteyer/angular-oauth2-oidc

This statement in oauth-service.ts imports ALL of rxjs which increases the size of app by a large amount. It's unnecessary.

import { Observable, Observer } from 'rxjs';

replacing it by this:

import { Observable } from 'rxjs/Observable';
import { Observer } from 'rxjs/Observer';

would dramatically reduce the size of the app.

Most helpful comment

will land in next version.

All 3 comments

Thanks for this. I will consider this in the course of the next days when I'm preparing the next release.

will land in next version.

--build-optimizer flag is now working with CLI 1.3 - Thanks a lot 馃憤

Was this page helpful?
0 / 5 - 0 ratings