Re:Show HN: Pts.js – A library for visualization and creativ...
by beart on Wednesday August 08, 2018 @12:57PM
(#17717458)
It looks like this library does use es6 features and requires babel to build from source.
[ Parent
| on HN ]
Re:Show HN: Pts.js – A library for visualization and creativ...
by metaphorical on Wednesday August 08, 2018 @01:16PM
(#17717599)
Not required. You can just include the pts.js or pts.min.js in script tag.
https://unpkg.com/[email protected]/dist/pts.js
Re:Show HN: Pts.js – A library for visualization and creativ...
by mindw0rk on Wednesday August 08, 2018 @01:24PM
(#17717658)
He said building from source, not using an already built version. For that you need babel.
Re:Show HN: Pts.js – A library for visualization and creativ...
by metaphorical on Wednesday August 08, 2018 @01:27PM
(#17717681)
You're right. Sorry I misunderstood.
Re:Show HN: Pts.js – A library for visualization and creativ...
by crucialfelix on Thursday August 09, 2018 @08:21AM
(#17723509)
Typescript is compiled with tsc, not Babel. The npm package includes built Js and original ts