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

Set source file name relative to options.sourceRoot #146

Merged
merged 1 commit into from
Nov 9, 2015
Merged

Set source file name relative to options.sourceRoot #146

merged 1 commit into from
Nov 9, 2015

Conversation

eur00t
Copy link
Contributor

@eur00t eur00t commented Nov 9, 2015

Fixes #137 by setting options.sourceFileName. If I understand correct, it's a basename by default (see Babel code here: https://github.com/chalbert/babel/blob/9d43776fbebf862e56d059dff117e55823f662b5/packages/babel-core/src/transformation/file/index.js#L161)

@Couto Couto merged commit b8e5432 into babel:master Nov 9, 2015
@Couto
Copy link
Member

Couto commented Nov 9, 2015

Thanks for the 👍

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