-
Notifications
You must be signed in to change notification settings - Fork 201
feat: add support for viewing sourcemap #341
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
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
commit: |
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.
Nice~
for (let i = 0; i < len; i++) binary += String.fromCharCode(combinedArray[i]) | ||
|
||
// Convert the binary string to a base64 string and return it | ||
return `https://evanw.github.io/source-map-visualization#${btoa(binary)}` |
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.
Would we consider opening the domain and controlling the display configuration of open sourcemap
button?🤔
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.
Users probably won't need this feature. it's mainly for conveniently debugging source map issues, I think we should add a prop to hide the open sourcemap
button by default, I'll add it later.
updated via d8d6097
ca11a62
to
d8d6097
Compare
No description provided.