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

Path Mapping is not properly work #3330

Closed
berlysia opened this issue Feb 20, 2018 · 3 comments
Closed

Path Mapping is not properly work #3330

berlysia opened this issue Feb 20, 2018 · 3 comments

Comments

@berlysia
Copy link

RxJS version:
6.0.0-alpha.3

Code to reproduce:

import { of } from 'rxjs';
import { map } from 'rxjs/operators';
import { ajax } from 'rxjs/ajax';
import { websocket } from 'rxjs/websocket';
import { TestScheduler } from 'rxjs/testing';

with webpack configuration for _esm5 described in doc/pipeable-operators.md#build-and-treeshaking

FYI: reproduced in webpack 3.11.0 & 4.0.0-beta.2

Expected behavior:
All import paths are mapped into _esm5 directory.

Actual behavior:
All import paths are mapped into root directory, not in _esm5.

Additional information:

import { of } from 'rxjs/index';
import { map } from 'rxjs/operators/index';
import { ajax } from 'rxjs/ajax/index';
import { websocket } from 'rxjs/websocket/index';
import { TestScheduler } from 'rxjs/testing/index';

works as expected.

@benlesh
Copy link
Member

benlesh commented Mar 15, 2018

cc @jasonaden

@BioPhoton
Copy link
Contributor

Hi @berlysia !

As this is quite a while ago, is it probably already solved?

If yes please close that one. Otherwise please give a quick update of the current status.

@berlysia
Copy link
Author

berlysia commented Oct 3, 2019

This issue is already solved in v6.0.0 and also in v6.5.3. ✨

@berlysia berlysia closed this as completed Oct 3, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Nov 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants