Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Not really. Usually people include them as "devDependencies", and Babel will transpile to ES5 before publishing.

I think Guillermo simply didn't care. Because it's not important for a joke.

---

Uninformed presumptions are madness.



I think it was important to him since otherwise leftPad probably wouldn't fit in a tweet so nicely..


Umm isn't babel-runtime an actual third party language runtime dependency (like polyfills and shared code for stuff like async) ?


I wouldn't really call it a dependency since it gets inlined with the shipped code.


Indeed, it is the only post-build babel dependency required if you want things like you say: async/await. The rest are the babel dependencies are build tools.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: