Skip to content

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

Merged
couto merged 1 commit into
babel:masterfrom
s-panferov:hotfix/existing-source-maps
Jul 15, 2015
Merged

Don't override existing items in sourcesContent if any#85
couto merged 1 commit into
babel:masterfrom
s-panferov:hotfix/existing-source-maps

Conversation

@s-panferov
Copy link
Copy Markdown

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
Copy Markdown
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
Copy Markdown
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