terinjokes/gulp-uglify

Not useful error information

Closed this issue · 2 comments

djake commented

I am getting "GulpUglifyError: unable to minify JavaScript". Followed by a stacktrace with doesn't point me toward my source. I suspect the root cause is due to ES6 code which I will happily remove, but I cannot find it based on this information, and I've already combed through the obvious culprits. Is there anything I can do to get a source file name, or a snippet of the offending code? I am running 2.0.1.

Have you read the “Why Use Pump?” documentation as recommended by the Errors section of the README?

djake commented

Perfect. Thank you for the quick response.