Mon, 27 Jul 2009 03:54:38 +0100
uglify: Restore filename on chunk when loading
uglify/squish.uglify.lua | file | annotate | diff | comparison | revisions |
--- a/uglify/squish.uglify.lua Mon Jul 27 03:32:28 2009 +0100 +++ b/uglify/squish.uglify.lua Mon Jul 27 03:54:38 2009 +0100 @@ -81,7 +81,7 @@ -- Close string/functions outfile:write("]", string.rep("=", maxequals+1), "]"); - outfile:write("))()"); + outfile:write(", '@", outfile_fn,"'))()"); outfile:close(); os.rename(outfile_fn..".uglified", outfile_fn); end