Hello everyone! I'm currently working on a Windows application using C# that minifies CSS files and packs JS files in bulk. I've come across a challenge where if the user selects a JS file that has already been packed, it will actually increase the file size instead of reducing it - which goes against the purpose of my application!
I'm debating whether simply checking for the string eval(function(p,a,c,k,e,d)
in the file is sufficient to determine if it has already been packed. I'm aware that there are other methods for packing JS files out there, so I could use some guidance on this issue. Can you help me out?