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 8e8c776 commit b5e22d2Copy full SHA for b5e22d2
src/main/clojure/cljs/js_deps.cljc
@@ -114,6 +114,8 @@ case."
114
(letfn [(conj-in [m k v] (update-in m [k] (fn [old] (conj old v))))]
115
(->> (for [line lines x (string/split line #";")] x)
116
(map string/trim)
117
+ (drop-while #(not (or (string/includes? % "goog.provide(")
118
+ (string/includes? % "goog.require("))))
119
(take-while #(not (re-matches #".*=[\s]*function\(.*\)[\s]*[{].*" %)))
120
(map #(re-matches #".*goog\.(provide|require)\(['\"](.*)['\"]\)" %))
121
(remove nil?)
0 commit comments