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

feat: Export createFromMapFiles SourceMapper utility #205

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

VladimirMilenko
Copy link

@VladimirMilenko VladimirMilenko commented Mar 18, 2022

This functionality is needed when you know exact source map location and other source maps can fail.
Our use case:
We know exactly location of server.map.js file, however, some of client maps have references to WASM code and thus SourceMap is unable to parse them.
Being unable to parse at least one of sourcemaps, error is thrown and sourcemaps are no longer available.

This functionality will allow you to pass path to specific sourcemap and avoid issue described above.

@google-cla
Copy link

google-cla bot commented Mar 18, 2022

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

For more information, open the CLA check for this pull request.

@VladimirMilenko VladimirMilenko force-pushed the export-create-from-map-files branch from 8a33d10 to 0afe092 Compare March 18, 2022 19:37
@VladimirMilenko VladimirMilenko changed the title Export createFromMapFiles SourceMapper utility feat: Export createFromMapFiles SourceMapper utility Mar 18, 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.

1 participant