Open davej opened 9 years ago
Well, -p
explicitly means print to stdout, it just happens to be the only situation I use the beautifier. I agree it would be a good idea to add a flag for it, or make it the default all the time. I'll try to do that later.
Currently I can use the
-p
option to print a prettier (i.e. multi-line) version of the compiled javascript but it doesn't seem to be possible to output the pretty version to a file. Sure I can just pipe the output but that gets complicated when compiling folders or multiple files.