Skip to content

Commit

Permalink
Rebuild dependency index after loading upstream deps [CLJS-798]
Browse files Browse the repository at this point in the history
  • Loading branch information
tobias authored and swannodette committed May 21, 2014
1 parent 76cf7c2 commit 65f9d98
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/clj/cljs/closure.clj
Original file line number Diff line number Diff line change
Expand Up @@ -926,7 +926,8 @@
(check-source-map-path opts)
(swap! compiler-env #(-> %
(assoc-in [:opts :emit-constants] emit-constants)
(assoc :target (:target opts))))
(assoc :target (:target opts))
(assoc :js-dependency-index (deps/js-dependency-index all-opts))))
(binding [ana/*cljs-static-fns*
(or (and (= (:optimizations opts) :advanced)
(not (false? (:static-fns opts))))
Expand Down

0 comments on commit 65f9d98

Please sign in to comment.