Skip to content

package.json main key should not point to Rx.js #3286

@sarunint

Description

@sarunint

RxJS version: 6.0.0-alpha.2

Code to reproduce: N/A

Expected behavior: When I import RxJS like this:

import { Observable } from 'rxjs';

I should get only the classes (Observable, Subject, etc.) which are not patch with the old-style operators.

Actual behavior:
I got the whole RxJS library. And Observable is patched with pre-pipeable operators.

Additional information: If this issue is confirmed, I'd be happy to send a PR to fix.

Furthermore, shouldn't prototype patching be deprecated in v6? I'm not sure about the roadmap for v6.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions