zsoltszabo

Results 5 comments of zsoltszabo

Hi https://github.com/zsoltszabo/node-uglifier project can do it and much more.

Probably replacing __dirname with the path of the main.js that you uglify is a good solution. Than the substitution engine can try finding the file and merge it. There might...

Ok I will make an option to allow that.

Hi I added the option: packNodeModules like new NodeUglifier("lib_compiled/test/express/server.js",{packNodeModules:true}) The problem is that a lot of the libraries use dynamic statements within require. It would be a large task to...