Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

madge --depends doesn't seem to include --require-config #40

Closed
whawker opened this issue Nov 12, 2014 · 1 comment
Closed

madge --depends doesn't seem to include --require-config #40

whawker opened this issue Nov 12, 2014 · 1 comment

Comments

@whawker
Copy link

whawker commented Nov 12, 2014

Hi,

I'm attempting to find orphaned modules, using the --depends option, but it doesn't seem to consider paths in the require config.

madge --require-config modules/main.js --depends underscore modules yields no results even though underscore is one of my most common dependencies.

modules/main.js

require.config({
    paths: {
        underscore: '../bower_components/underscore/underscore'
        // (etc)
    }
});

modules/app.js

define(function (require) {
    'use strict';
    var $ = require('jquery'),
        _ = require('underscore');
   //...etc
});
@pahen
Copy link
Owner

pahen commented Dec 19, 2014

Hi, this has been fixed in v0.4.0 which will be published to NPM soon. Let me know if it still doesn't work.

@pahen pahen closed this as completed Dec 19, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants