node-uglifier
node-uglifier copied to clipboard
replace __dirname with absolute path
Hi, Is there a way that you can replace __dirname with the absolute path since the directory file structure is not maintained?
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 be some edge cases though.