Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rx .map is not working in production #334

Closed
saldoukhov opened this issue Feb 15, 2016 · 0 comments
Closed

Rx .map is not working in production #334

saldoukhov opened this issue Feb 15, 2016 · 0 comments

Comments

@saldoukhov
Copy link

The polyfill seems to have .map listed:
if ('production' === process.env.ENV) {
...
// RxJS
// In production manually include the operators you use
require('rxjs/add/operator/map');
} else {

But when I run my dist, i get
EXCEPTION: TypeError: this.http.post(...).map(...).do is not a function in [null]

In dev, works fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant