pahen / madge

Create graphs from your CommonJS, AMD or ES6 module dependencies
MIT License
9.09k stars 318 forks source link

nested require() not showing on results #38

Closed mooyoul closed 9 years ago

mooyoul commented 10 years ago

Hi, I just found that madge couldn't find relationship on nested require() calls. r.js optimizer finds nested require calls by using findNestedDependencies key. (Related r.js optimizer source link) Can you support nested require calls?

pahen commented 9 years ago

Hi,

This has been added now in v0.4.0. See https://github.com/pahen/madge/commit/9bf15c9a7dc820270b6ac2bbd31eac690927a2cd

Not published to NPM yet. Will probably do it today.