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

Popular posts from this blog

javascript - Bootstrap Popover: iOS Safari strange behaviour -

Website Login Issue developed in magento -

Can the constants be defined inside a model file of a framework in PHP? -