Skip to content
This repository has been archived by the owner on Apr 9, 2022. It is now read-only.

ngo is removing rxjs add operators #51

Closed
StephenFluin opened this issue Jul 26, 2017 · 0 comments
Closed

ngo is removing rxjs add operators #51

StephenFluin opened this issue Jul 26, 2017 · 0 comments

Comments

@StephenFluin
Copy link
Contributor

Using:

@angular/cli: 1.3.0-rc.1
node: 8.1.3
os: linux x64
@angular/animations: 4.3.1
@angular/cli: 1.3.0-rc.1
@angular/common: 4.3.1
@angular/compiler: 4.3.1
@angular/compiler-cli: 4.3.1
@angular/core: 4.3.1
@angular/forms: 4.3.1
@angular/http: 4.3.1
@angular/material: 2.0.0-beta.2
@angular/platform-browser: 4.3.1
@angular/platform-browser-dynamic: 4.3.1
@angular/router: 4.3.1
@angular/service-worker: 1.0.0-beta.16

I have import 'rxjs/add/operator/filter'; at the top of my app.component.ts file.

Expected Behavior:
When I use .filter on an observable, I expect the call to succeed

Observed Behavior
The filter method is missing from the prototype of Observable.

Other Background
In the source code generated with ng build -prod -bo, the import is being marked as pure.

        /*@__PURE__*/
        __webpack_require__("gbhw");
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants