-
Notifications
You must be signed in to change notification settings - Fork 19
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
Request: Reconstruct original file #15
Comments
I might try to implement this |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
be able to reconstruct the original file from sourcemap. something like the following:
or, for the purpose of not loading a whole un-minified file into memory, we can pass in an int denoting number of lines you want reconstructed when you call
Source()
. Then, return a slice containing n strings which each represent a like. maybe something like this:originalLines would then have 5 lines above the mapped line, the mapped line, and 4 lines below, like so:
The text was updated successfully, but these errors were encountered: