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

Don't override existing items in sourcesContent if any #85

Merged
merged 1 commit into from
Jul 15, 2015
Merged

Don't override existing items in sourcesContent if any #85

merged 1 commit into from
Jul 15, 2015

Conversation

s-panferov
Copy link

The problem appears when babel-loader is used in a chain with another loader, e.g. awesome-typescript-loader which provides existing source map with own sourcesContent.

In this case we need to leave the items in the array as-is. I've tested it locally, it worked.

@Couto
Copy link
Member

Couto commented Jul 15, 2015

I've just published this on npm with the version 5.3.2!
Thanks for the PR :)

@s-panferov
Copy link
Author

@Couto thanks!

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

Successfully merging this pull request may close these issues.

2 participants