|
|
|
|
|
by VieElm
4013 days ago
|
|
On a side note, you should preserve some new lines in your minified js as it makes dealing with production JavaScript errors much easier, assuming you have some kind of onerror hook that sends you js errors. The new lines don't add much to the overall size of your js but they make debugging much easier. |
|
> Column numbers in Firefox. Firefox is the only browser that doesn't support column numbers for exceptions. This makes debugging minified javascript essentially impossible. I've sent one patch but there's a lot more to do.
https://bugsnag.com/blog/js-stacktraces/
- written in 2014
but MDN now says:
> Column number for the line where the error occurred (number) - Requires Gecko 31.0
https://developer.mozilla.org/en-US/docs/Web/API/GlobalEvent...
If anybody has live experience with this, I'm eager to hear about it.