-
Notifications
You must be signed in to change notification settings - Fork 62
[sourcemaps] sourceMappingURL support #2035
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
Conversation
46ba529 to
313f7ea
Compare
313f7ea to
d0b20bf
Compare
Miz85
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, I have a couple of minor comments but all in all it's okay. It would be good to test it on a real app before merging.
|
while testing with a simple Next JS project I found that some my manual testing passed ✅ |
e65b3e3 to
54af34f
Compare
Drarig29
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's use the async FS API to unblock the event loop
|
✅ Tests 🎉 All green!❄️ No new flaky tests detected 🔗 Commit SHA: 0899aa7 | Docs | Datadog PR Page | Was this helpful? Give us feedback! |
61fa864 to
0899aa7
Compare
Drarig29
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for the changes!
|
this PR should close #1997 |
What and why?
sourcemaps uploadnow looks at the last non-empty lines of minified JS files in the given directory and reads theirsourceMappingURLvalues in order to find their corresponding sourcemap files.Before this mapping logic was hardcoded as the following:
foo.min.js->foo.map.jsHow?
A brief description of implementation details of this PR.
Review checklist