uglifyjs - how to uglify javascript wiithout minifying it? -
i'm trying debug errors in js.
i use gulp + uglify ugly minified one-liner. need file original lines intact know line gave me error - i'd still keep atmosphere of mystique. there way mangle code make less understandable without minifying using uglifyjs?
thanks
when call uglify, have option add -b flag, beautifies output.
the common way approach indeed via sourcemaps mentioned in comments though. grunt adapter uglify example or https://github.com/mishoo/uglifyjs2 (which used it) can generate automatically via sourcemap/--sourcemap option.
Comments
Post a Comment