-
Notifications
You must be signed in to change notification settings - Fork 57
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
sourceMappingURL and consolify #66
Comments
The source maps are generated and used to map stack traces back to the original sources. However, the original source maps need an additional offset to work properly, because the source lives inline in the html page. Instead of having wrong source maps, I decided to not have source maps at all until a proper solution can be provided. I can think of these solutions:
I cannot make any promises when I will have the time to look into this. Ideas / pull request welcome. |
I guess the best solution is the first one but it seems more complex. |
With Mochify |
Hi there,
I'm using mochify and consolify options in a gulp project. Everything works like a charme expect sourceMappingURL missing on my runner.html generated by --consolify. Currently Mochify accepts a debug option but his meaning is not the same of Browserify.
So I dug in mochify source code and to me the browserify debug options seems true as default so dunno why sourceMappingURL is missing. I would like debug my tests sometimes in a browser.
My mochify.js:
Have you any workaround?
cheers Lorenzo
The text was updated successfully, but these errors were encountered: