-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Debugging feature request: marker comments in output #823
Comments
Yes, I've been meaning to do this. Good idea |
Related suggestion from Gitter — include a comment showing the version of the compiler |
Does #853 really close this? I'm just going by the changes to the test output - I didn't see component name anywhere |
@TehShrike it uses /* /path/to/project/components/Thing.html generated by Svelte v1.39.3 */
/* components/Thing.html generated by Svelte v1.39.3 */ |
Oh, brilliant. |
It's been talked about in Gitter, but I couldn't find an issue for it yet:
debugging Svelte output in bundles would be way easier if each component had marker comments around its code indicating which component the code belonged to.
This would make it easier to Cmd+F for the code you wanted, and reduce the amount of thinking you'd have to do to find out which component this
create_main_fragment
function belonged to.The text was updated successfully, but these errors were encountered: