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
Source maps support #1
Comments
The lexer already marks all tokens with their original location (both char and line/col), as it is used for analysis / annotations and the highlighter. I have limited knowledge of source maps, but from what I understand it should be relatively easy to support. |
This feature is definitely needed for any serious project. Debugging unfortunately happens so often! |
It's not that bad actually. The JavaScript it generates is rather clean and On lør. 22. aug. 2015 at 12.04 Marvin Roger notifications@github.com
|
That's right, the generated JS is clean, but when your debugger tells you that there is an error at x line, you lost some time to find the corresponding imba line. :) |
@marvinroger Preliminary support for sourcemaps has been added and released with v0.12.0. The sourcemap is embedded directly in the compiled files if you include |
Great! Thanks, you guys are very fast. :) |
Any plans on supporting source maps?
The text was updated successfully, but these errors were encountered: