saguijs / sagui

:monkey: Front-end tooling in a single dependency
http://sagui.js.org/
MIT License
669 stars 32 forks source link

Detect and error on circular dependencies #411

Open pirelenito opened 7 years ago

pirelenito commented 7 years ago

Circular dependencies are dangerous because it is hard to find that they are the cause if something is going wrong in the application.

The symptom of a circular dependency is usually an undefined value somewhere of a module, which can lead to problems.

https://github.com/aackerman/circular-dependency-plugin