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

Fix: inputSourceMap should work when it is an external file #10623

Merged
merged 3 commits into from Oct 31, 2019

Conversation

JLHwung
Copy link
Contributor

@JLHwung JLHwung commented Oct 31, 2019

Q                       A
Fixed Issues? Fixes #10534
Patch: Bug Fix? Yes
Tests Added + Pass? Yes
License MIT

This PR fixes invalid fromMapFileComment call signature via prepending parsed comment text by //, which is required in convert-source-map.

This PR is a follow up to #9960.

@JLHwung JLHwung added PR: Bug Fix 🐛 A type of pull request used for our changelog categories area: sourcemaps labels Oct 31, 2019
return 4;
};

//# sourceMappingURL=input.js.map
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The test case is copied and later transformed from packages/babel-core/test/fixtures/transformation/source-maps/input-source-map.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area: sourcemaps 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.

Input source maps are ignored in v7.6.0 and up
3 participants