-
-
Notifications
You must be signed in to change notification settings - Fork 120
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-maps source path is wrong #54
Comments
@sindresorhus Could you please apply this fix? Otherwise we can't use sourcemaps. 😞 |
its a temporary fix, i wouldn't recommend using it. |
Right, I should have said "please fix this" instead of "please apply this fix". 😄 |
I am seeing the same issue. @vzaidman's fix worked for me. Not sure why it is considered temporary. |
look at the code. |
… appropriately to address issue babel#54
So the problem was not in the renaming of the file but not in explicitly setting the source. I kept the |
I disagree. |
Fix sourcemap's bug for files in nested folders. Closes #54
when babeling a simple es6 file exactly like in the example,
the "sources" property of the ".map" file is it's name instead of path.
so if you have two files with the same name they will collide in the "sources" directory when debugging.
The text was updated successfully, but these errors were encountered: