I'm using grunt to build my Angular JS project and I'm running into a weird issue that I havent run into before.
I use grunt-contrib-concat and then grunt-contrib-uglilfy to generate the code. If I use just concat, things work as expected. But when I include the uglify, I get an error in the functioning of my code that obviously wasnt there before the build process or after the concat process.
Is there a good way to troubleshoot and possibly override the "uglification" process to handle the error?
Note: The issue isn't with the running of the uglify task, the task runs completely and all files are minified/uglified successfully. The problem is that one of the pieces of functionality in the system fails after uglifying but works fine prior to that.