                      (io/make-parents mfile)
                      (write-jar-manifest mfile manifest)
                      manifest))]
-    (-> (process-deps-cljs state manifest)
+    (-> (process-deps-cljs state manifest path)
         (vals))))
 
 (defn make-fs-resource [state source-path rc-name ^File rc-file]

    (fn [^String name]
      (str/replace name File/separatorChar \/))))

(defn normalize-foreign-libs [{:keys [foreign-libs externs] :as deps}]
  (if (seq externs)
    ;; FIXME: :externs at top level
    (update-in foreign-libs [0 :externs] #(into (or % []) externs))
    foreign-libs))

(defn should-ignore-resource?
  [{:keys [ignore-patterns] :as state} name]

      entries)))

(defn process-deps-cljs
  [{:keys [use-file-min] :as state} manifest source-path]
  {:pre [(compiler-state? state)
         (map? manifest)]}
  (let [deps (get manifest "deps.cljs")]
