Skip to content

Adding support for indexed source maps.#1261

Merged
connor4312 merged 3 commits intomicrosoft:mainfrom
ashgti:main
May 17, 2022
Merged

Adding support for indexed source maps.#1261
connor4312 merged 3 commits intomicrosoft:mainfrom
ashgti:main

Conversation

@ashgti
Copy link
Copy Markdown
Contributor

@ashgti ashgti commented May 6, 2022

Indexed source maps, described in https://sourcemaps.info/spec.html#h.535es3xeprgt this should allow users to debug bundled output, like that produced by the closure-compiler when producing bundled output.

Fixes #1260

Indexed source maps, described in https://sourcemaps.info/spec.html#h.535es3xeprgt this should allow users to debug bundled output, like that produced by the closure-compiler when producing bundled output.
@connor4312
Copy link
Copy Markdown
Member

Thanks for the PR! Can you add some test cases for these as well?

@ashgti
Copy link
Copy Markdown
Contributor Author

ashgti commented May 6, 2022

Sure, let me add a unit tests

@ashgti
Copy link
Copy Markdown
Contributor Author

ashgti commented May 6, 2022

Added new unit tests to check source map handling.

@ashgti
Copy link
Copy Markdown
Contributor Author

ashgti commented May 11, 2022

Let me know if there are any additional tests I should add

Copy link
Copy Markdown
Member

@connor4312 connor4312 left a comment

Choose a reason for hiding this comment

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

I think this looks good. Thanks for the tests. The one missing thing is support for nested sections.[].urls, but I can add that in after this is merged.

@connor4312 connor4312 merged commit 7b174a0 into microsoft:main May 17, 2022
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.

Support source map files with sections ('indexed maps')

3 participants