We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fcd1358 commit e5491d5Copy full SHA for e5491d5
src/main/clojure/cljs/analyzer/api.clj
@@ -58,6 +58,13 @@
58
([state]
59
(get @state :options)))
60
61
+(defn get-js-index
62
+ "Return the currently computed Google Closure js dependency index from the
63
+ compiler state."
64
+ ([] (get-options env/*compiler*))
65
+ ([state]
66
+ (get @state :js-dependency-index)))
67
+
68
(defn analyze
69
"Given an environment, a map containing {:locals (mapping of names to bindings), :context
70
(one of :statement, :expr, :return), :ns (a symbol naming the
0 commit comments