-
Notifications
You must be signed in to change notification settings - Fork 1
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 would help debug some classes of problems #13
Comments
Yeah I haven't gotten around to it yet. Personally I don't run into this much because i've been using it for a long time and must know how to avoid it, but i understand people just picking HECS up are likely to stumble into this quite often. I might be able to look at adding source maps in the next week or two, it's probably not too hard. Do you have a snippet that reproduces an error like the one above? |
Sure, here's my latest dumb mistake :) Inside a
|
These are the steps I took to create a reproduction:
This is what I see in the console: (we're expecting to see minified code which is useless to us) I then:
This is what I see All is good! I also don't think we need to add the Just for brevity, I also double checked the source-maps are a separate file so as not to increase the bundle size. |
@canadaduane if this works for you, lets remove the |
Ok, I can confirm this works in |
Occasionally I do something dumb (ok, quite often) and end up in some code path that HECS didn't anticipate, throwing an error that is hard to debug.
For example:
Adding source maps to the
dist/
folder would help here (maybe).The text was updated successfully, but these errors were encountered: