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

Handle promise when generating source maps #102

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

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