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

source-map-loader overrides alias setting in webpack config, causing multiple inclusions of a library #13

Closed
seansfkelley opened this issue May 6, 2016 · 1 comment

Comments

@seansfkelley
Copy link

seansfkelley commented May 6, 2016

The repro for this bug is a little involved, so I made a repo for it: https://github.com/seansfkelley/source-map-loader-bug

Summay: if you want to do local development across multiple repos but have a singleton specified in the webpack config's alias block (real world example: React, which generally has to be a singleton on the page), and the root one uses source-map-loader, it will override the alias config and include the versions of the library that are installed locally to the target of the link.

@seansfkelley
Copy link
Author

Turns out this is an issue with Webpack itself, not this particular loader. Closing in favor of webpack/webpack#2441.

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