Skip to content

feat: Export createFromMapFiles SourceMapper utility - #205

Open
VladimirMilenko wants to merge 1 commit into
google:mainfrom
VladimirMilenko:export-create-from-map-files
Open

feat: Export createFromMapFiles SourceMapper utility#205
VladimirMilenko wants to merge 1 commit into
google:mainfrom
VladimirMilenko:export-create-from-map-files

Conversation

@VladimirMilenko

@VladimirMilenkoVladimirMilenko commented Mar 18, 2022

Copy link
Copy Markdown

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
Copy Markdown

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
VladimirMilenkoforce-pushed the export-create-from-map-files branch from 8a33d10 to 0afe092CompareMarch 18, 2022 19:37
@VladimirMilenkoVladimirMilenko changed the title Export createFromMapFiles SourceMapper utilityfeat: Export createFromMapFiles SourceMapper utilityMar 18, 2022
Sign up for freeto 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

@VladimirMilenko