News for hackers. Stuff that matters.
Re:Show HN: JohnnyDepp – A tiny dependency manager for moder... by asdkhadsj on Wednesday October 03, 2018 @01:17PM (#18132440)
What are "standard modules" for modern browser? I don't typically frontend dev these days, so I'm likely a bit out of the loop.

The way I typically thought of dependencies with browsers was to bundle them all together. Is there some new solution to this problem?

Re:Show HN: JohnnyDepp – A tiny dependency manager for moder... by mhd on Wednesday October 03, 2018 @01:23PM (#18132493)
Probably using the ES2015 import syntax[1], which allows you to dynamically load modules. I have my doubts whether your average medium+ sized JS app will be that dynamically, so you'll probably end up slurping a whole lot o' module at startup. And without tree-shaking, more stuff to download and digest.

[1]https://caniuse.com/#feat=es6-module-dynamic-import

Re:Show HN: JohnnyDepp – A tiny dependency manager for moder... by spankalee on Thursday October 04, 2018 @06:56PM (#18144413)
You can bundle modules together so you don't have a ton of downloads, but the basic module graph will at least be loadable. WebPackaging will also help in the future.
Re:Show HN: JohnnyDepp – A tiny dependency manager for moder... by sephware on Wednesday October 03, 2018 @01:22PM (#18132489)
They’re still mainly bundlers for now, such as webpack. But browsers are slowly adopting first class modules which has already been solidified by the spec afaik.