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

[WIP]Sourcemaps support #6

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

Conversation

fand
Copy link

@fand fand commented May 29, 2017

This PR yields sourcemaps like this:
https://gist.github.com/fand/d64754980900490b81867340a13c9643#file-out-glsl

This sourcemap can be parsed by mozilla/source-map.
consumer.originalPositionFor() returns the original position from the error position in bundled code.
https://gist.github.com/fand/d64754980900490b81867340a13c9643#file-parsesourcemaps-js

@fand
Copy link
Author

fand commented May 29, 2017

commit a0aa792 and f35c740 are from #5 .

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.

1 participant