Re:Pika: Making it easier to find, publish, install, and use...
by z3t4 on Sunday March 03, 2019 @05:44AM
(#19293811)
The nodejs modules are what makes nodejs great. It encourage sharing code and modularization without complexity.
[ Parent
| on HN ]
Re:Pika: Making it easier to find, publish, install, and use...
by yeskia on Sunday March 03, 2019 @06:06AM
(#19293875)
What do you dislike about ESM in comparison?
Re:Pika: Making it easier to find, publish, install, and use...
by z3t4 on Sunday March 03, 2019 @06:21AM
(#19293923)
ESM had no implementation, and there where already a unofficial standard. Why did ESM land in ES2015 ? Three years later it still got issues and implementation is experimental at best.
Re:Pika: Making it easier to find, publish, install, and use...
by growtofill on Sunday March 03, 2019 @06:39AM
(#19293986)
They are supported by browsers for about two years now: https://jakearchibald.com/2017/es-modules-in-browsers/
Re:Pika: Making it easier to find, publish, install, and use...
by kn8 on Sunday March 03, 2019 @11:26AM
(#19295205)
But why is nobody using that?
Specifically, I would think 99% if stuff being shipped today is bundled with tools like webpack.
Re:Pika: Making it easier to find, publish, install, and use...
by charrondev on Sunday March 03, 2019 @12:22PM
(#19295551)
Because it lacks support for bare specifiers and package lookup. There’s also no dead code elimination or code splitting.