Permalink
Browse files

Rebuild dependency index after loading upstream deps [CLJS-798]

  • Loading branch information...
1 parent 76cf7c2 commit 65f9d988f915cab0bff9c961e85495400ee1e542 @tobias tobias committed with swannodette Apr 16, 2014
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/clj/cljs/closure.clj
View
@@ -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))))

0 comments on commit 65f9d98

Please sign in to comment.