Can uglify-js remove the console.log statements?
I’m using uglify-js to minify the source code. I want to remove the console.log statements of the original source code. Is it possible? Or is there any other compressor tool supports this?
I’m using uglify-js to minify the source code. I want to remove the console.log statements of the original source code. Is it possible? Or is there any other compressor tool supports this?
Hello I’m using uglifyJs to minify my javascript files, it’s working well with one file at a time, what I’m loking for is to minify all the javascript files present in a folder called JS into a folder called JSM, to be clear I have 2 files inside my JS folder called test1.js and test2.js and I want to run uglify against that folder and generate test1.min.js and test2.min.js inside the JSM folder, so is there a way to do this? a command like :
I am authoring a JavaScript library that I want to put on npm
. I am currently using that library in another project and I have added it as a dependency using its GitHub repository: