uglifier icon indicating copy to clipboard operation
uglifier copied to clipboard

Can't see where the error is in the output

Open mdnorman opened this issue 6 years ago • 4 comments

When there are errors during uglification, there is no information in the uglifier output to indicate where to look to find the solution. This makes it really tough to troubleshoot and fix the problems.

mdnorman avatar Feb 04 '19 18:02 mdnorman

I've created a PR that adds source context to the uglifier: https://github.com/lautis/uglifier/pull/159

mdnorman avatar Feb 04 '19 18:02 mdnorman

Thanks for this. Had the same issue today, hope it will be merged and the gem will be released soon. Edit: Have just tested, the integration is awesome and really useful.

BenTalagan avatar Feb 13 '19 10:02 BenTalagan

@mdnorman is it already fixed? I have similar issue with message "Compilation failed:" without any details... :)

senych-vitalii avatar Dec 06 '19 13:12 senych-vitalii

Though my PR was closed, it looks like it may have been fixed in https://github.com/lautis/uglifier/pull/167

mdnorman avatar Dec 06 '19 18:12 mdnorman