(defn
setup-ns->dependents!
"This reverses the goog.dependencies_.requires for looking up ns-dependents."
[]
(let
[requires
(gobj/filter
js/goog.dependencies_.requires
(fn [v k o] (gstring/startsWith k "../")))]
(gobj/forEach
requires
(fn
[v k _]
(gobj/forEach
v
(fn
[v' k' _]
(doseq [n (path->name k)] (name-to-parent! k' n))))))))