Here is my dilemma:
I am noob (currently interning and helping maintain two e-commerce sites) in javascript. Recently, I was assigned to delete all comments that are found in our javascript libraries (that's over 25,000 comments!). Obviously, I want to find a function or some pre-existing program that can analyze the code by deleting all the characters following // or * / ...
I looked at several available minifiers online, such as Yui, jscompressor.com and uglifyJS, which would make this task more automated, but there are a few problems. Either they are too aggressive (shorten the names of variables, remove all spaces, etc.), Or require you to submit one line or one file at a time. I am dealing with literally 1000.js files.
Additional information: our development environment - Eclipse IDE and xammp; languages ββ- html, php, css.
Any program recommendations that might fit my needs would be great!
user1183433
source share