shadow-cljs icon indicating copy to clipboard operation
shadow-cljs copied to clipboard

infer transitive module dependencies

Open mhuebert opened this issue 5 years ago • 2 comments

Currently one must list all transitive dependencies of a module in :depends-on -- transitive deps could be inferred from immediate deps. see: https://clojurians.slack.com/archives/C6N245JGG/p1559812431073100

mhuebert avatar Jun 06 '19 09:06 mhuebert

Can't remember what this was about? Slack history is gone.

thheller avatar Aug 11 '19 10:08 thheller

IIRC when module-splitting, say you have modules :react < :core < :widget-X..

:react :depends-on #{} 
:core :depends-on #{:react} 
:widget-X :depends-on #{:core :react} ;; should be able to just say #{:core}

mhuebert avatar Aug 11 '19 18:08 mhuebert