You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using the git version 2.4.15 including the commits from Jul 09, 2014.
the documentation under "Beautifier options" states: "whenever possible we will use a newline instead of a semicolon", but when writing the following code to uglifyjs' standard-input:
as far as i know semicolons are not necessary in this case, so considering the documentation, i would expect them to be left out.
as a side note: the documentation could be improved by explaining/hinting the --beautify options format either more generally or under "Beautifier options". it is only explained under compressor options, but if only interested in the beautifer options one does not look there.
The text was updated successfully, but these errors were encountered:
using the git version 2.4.15 including the commits from Jul 09, 2014.
the documentation under "Beautifier options" states: "whenever possible we will use a newline instead of a semicolon", but when writing the following code to uglifyjs' standard-input:
file test.js:
var a = 1
var b = 2
var c = 3
using:
cat test.js |uglifyjs --beautify semicolons=false
the result is
var a = 1;
var b = 2;
var c = 3;
as far as i know semicolons are not necessary in this case, so considering the documentation, i would expect them to be left out.
as a side note: the documentation could be improved by explaining/hinting the --beautify options format either more generally or under "Beautifier options". it is only explained under compressor options, but if only interested in the beautifer options one does not look there.
The text was updated successfully, but these errors were encountered: