-
Notifications
You must be signed in to change notification settings - Fork 79
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
Provide only a sourcemaps v3 for processing #48
Comments
Thanks, but |
@kitsonk I appreciate the quick response. I understand what you're saying and it's not what I'm proposing. At the moment, at least in my usage of |
Could you provide an example source map that contains the sources like you suggest? Typically I think what you are suggesting is providing the array of source maps externally, so that |
@kitsonk Sorry for the delay. This is no longer a requirement of ours, as keeping everything in memory is not ideal. And yes, I was indeed suggesting what you said:
This feature might still be useful for us in the future, but I'll close this issue, for now :)
|
I am going to re-open, because it is an enhancement worth considering (even if it is no longer needed by @m-a-r-c-e-l-i-n-o) |
In my use case, using jspm, I have to create two additional files (the transpiled file and source map) just to have
remap()
find them. In other words, I have a physical source file, which then gets transpiled and a source map is generated, but for the last two (transpiled and source map file ), I have already access to them in memory and they don't need to be a physical file for any other reason. Since sourcemaps v3 supports thesourcesContent
property, it would be ideal if I could just pass in an array of v3 source maps toremap()
(along with the coverage object), and haveremap()
granted immediate access to the source map and the source's content (via thesourcesContent
property), without them having to be physically on the system. If this sounds reasonable to you guys, I would be happy to help with that effort.The text was updated successfully, but these errors were encountered: