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.
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.
The way I typically thought of dependencies with browsers was to bundle them all together. Is there some new solution to this problem?