Giter Site home page Giter Site logo

Comments (4)

aackerman avatar aackerman commented on July 23, 2024 1

Can you explain how you would expect to use a module in node to discover circular dependencies?

I feel like this could work easily with webpack using the node target, as a part of CI verification.

Without webpack would require overloading node's require() method.

from circular-dependency-plugin.

wlingke avatar wlingke commented on July 23, 2024

I was thinking more as a static analysis tool for non-webpack stuff (like
servers).

I think this is also more likely to be run on a one-off basis before a
commit as part of a task than as continuously during dev. The performance
isn't bad but it does slow down my reload when I plug it into my webpack
watcher. Also I don't really think its necessary to be continuously
verifying, it's pretty rare that you'll make circular references.

On Mon, Oct 17, 2016 at 4:42 PM, Aaron Ackerman [email protected]
wrote:

Can you explain how you would expect to use a module in node to discover
circular dependencies?

I feel like this could work easily with webpack using the node target, as
a part of CI verification.

Without webpack would require overloading node's require() method.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#11 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AC__QCvAsU2o2f-p1sYM-9Gd4H6GMmrtks5q1Af8gaJpZM4KZLjt
.

from circular-dependency-plugin.

vitalets avatar vitalets commented on July 23, 2024

@wlingke you can use madge for that.
We used it for a long time before and it works fine.

from circular-dependency-plugin.

wlingke avatar wlingke commented on July 23, 2024

from circular-dependency-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.