if/else blocks get a new line character added incorrectly, causing some browsers to fails with 'Unexpected strict mode reserved word' This input javascript if (true) { console.log('in if'); } else { console.log('in else'); } results in this minified block ;if(!0){console.log('in if')} else{console.log('in else')} instead of ;if(!0){console.log('in if')}else{console.log('in else')} This was introduced by https://github.com/tchwork/jsqueeze/commit/dc3c4073c2060d62a8578848c5d222a8b7608df1. See also https://github.com/tchwork/jsqueeze/issues/25
if/else blocks get a new line character added incorrectly, causing some browsers to fails with 'Unexpected strict mode reserved word'
This input javascript
if (true) {
console.log('in if');
} else {
console.log('in else');
}
results in this minified block
;if(!0){console.log('in if')}
else{console.log('in else')}
instead of
;if(!0){console.log('in if')}else{console.log('in else')}
This was introduced by dc3c407. See also #25