Skip to content

Handle promise when generating source maps#102

Open
dbisso wants to merge 4 commits intowiledal:masterfrom
D3R:fix-sourcemaps
Open

Handle promise when generating source maps#102
dbisso wants to merge 4 commits intowiledal:masterfrom
D3R:fix-sourcemaps

Conversation

@dbisso
Copy link

@dbisso dbisso commented Sep 9, 2022

Fixes #97

Later versions of source-map return a promise from the SourceMapConsumer constructor so we need to wait for it to be resolved before iterating the through the mappings.

dbisso and others added 4 commits September 6, 2022 16:49
SourceMapGenerator returns a Promise which we need to wait for before getting each mapping
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.

TypeError: resultMap.eachMapping is not a function

1 participant