News for hackers. Stuff that matters.
Re:The state of JavaScript modules by eloisant on Monday May 29, 2017 @07:17AM (#14438540)
I do remember that being a huge pain in the back, as in:

- You have to maintain a full list of your files, in order, to include them in your html page (in dev mode) and concat (for prod mode)

- If you want to know on what other module a given module depends on, you have to hunt every call in the source code

- You can never remove a dependency on an external lib as you can never be sure it's not used somewhere

- Upgrading a lib was a pain

Compared to every other language, it was a huge pain point. It's not by chance that so many people started to work on implementing modules for JS, there was a real need.

There are no comments on this comment yet.