LiveScript icon indicating copy to clipboard operation
LiveScript copied to clipboard

lsc option for format of ouput

Open fprijate opened this issue 9 years ago • 2 comments

IMHO it would be nice to have lsc option for output format (ES5/ES6). lsc -f format:: String
where format : format of generated .js file (ES5 , ES6)

ES6 code , which most of the modern browsers support, is shorter and faster than equivalent ES5 code.

fprijate avatar Sep 03 '16 14:09 fprijate

Unfortunately this is likely to be a by-product of the proposed Babel-based toolchain (#862), even though the effort appears to be stalled at the moment.

summivox avatar Oct 25 '16 21:10 summivox

and needs file.min.js as well

askucher avatar Nov 12 '17 02:11 askucher