Better HN
topnewbestaskshowjobs
Log inSign up

anotherthing

7 karma · joined Aug 30, 2016 (10y ago) · 5 submissions

Submissions

comment 10y ago · link · parent

Any plans to release minified versions of babili? It would probably shave 90% off the install size.

comment 10y ago · link · parent

Can babili or babel parse TS?

comment 10y ago · link · parent

`npm install babili` is 33M. Should users know or care what a babel preset is? They just want to minify code.

comment 10y ago · link · parent

acorn is an ECMAScript parse library that emits a JSON parse tree. It does its job very well, but doesn't do anything else.

comment 10y ago · link · parent

Competition is great. The more minifiers the better.

At a usability level, babili has a 33M install footprint and must be installed locally in the directory in which you intend to use it.

uglify-js can be installed globally and has a 1.9M install size.

And I've never understood how to configure babel's preset and plugin files. Why is it necessary for a minifier to do this? Surely this can be greatly simplified.