Preserve new lines

21 views
Skip to first unread message

Cherian

unread,
Apr 6, 2012, 2:59:05 AM4/6/12
to UglifyJS
How can I instruct uglify to preserve new lines?

Can someone point me to a doc?

-Cherian

Mihai Călin Bazon

unread,
Apr 6, 2012, 4:48:04 AM4/6/12
to ugli...@googlegroups.com
You can't (same about comments), because whitespace and comments are
not part of the AST.

-M.

--
Mihai Bazon,
http://mihai.bazon.net/blog

Reply all
Reply to author
Forward
0 new messages