Skip to content

Warn about cyclic/circular requires #961

@dizzib

Description

@dizzib

Would be useful if browserify could detect this scenario and issue a warning or error. This is because I'm trying to avoid such dubious scenarios in my code.

foo.js require('./bar');
bar.js require('./baz');
baz.js require('./foo');

btw thanks for such a great tool!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions