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

Allow overwritting of sourceRoot #3685

Merged
merged 1 commit into from Sep 3, 2016
Merged

Allow overwritting of sourceRoot #3685

merged 1 commit into from Sep 3, 2016

Conversation

danez
Copy link
Member

@danez danez commented Aug 30, 2016

There was an issue raised here: https://phabricator.babeljs.io/rBC54115fbdae875206e4ef6f0e76c7132568045ea4

This change allows sourceRoot to be overwritten.

@danez danez added the PR: Bug Fix 🐛 A type of pull request used for our changelog categories label Aug 30, 2016
@hzoo
Copy link
Member

hzoo commented Aug 30, 2016

I don't think we've really used Object.assign in the codebase (although it is covered by transform-runtime) - lodash.extend/merge should work too right?

Also replaces lodash/extend with Object.assign
@danez
Copy link
Member Author

danez commented Aug 30, 2016

Yes right, noticed that myself. Was for some reason thinking it gets transpiled by babel. Reverted that.

@hzoo
Copy link
Member

hzoo commented Aug 30, 2016

There is http://babeljs.io/docs/plugins/transform-object-assign/, but yeah polyfill. Might even try to remove runtime from the packages if we don't use it

@codecov-io
Copy link

codecov-io commented Aug 30, 2016

Current coverage is 88.28% (diff: 100%)

No coverage report found for master at b871a49.

Powered by Codecov. Last update b871a49...94912ee

@hzoo hzoo merged commit 71dff8c into babel:master Sep 3, 2016
@danez danez deleted the allow-overwrite branch September 4, 2016 12:53
@lock lock bot added the outdated A closed issue/PR that is archived due to age. Recommended to make a new issue label Oct 7, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Oct 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
outdated A closed issue/PR that is archived due to age. Recommended to make a new issue PR: Bug Fix 🐛 A type of pull request used for our changelog categories
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants