                                          :num-files (count recompile-sources)}]
             (-> cache-index
                 (assoc :SHADOW-CACHE-KEY SHADOW-CACHE-KEY
+                       :CACHE-OPTIONS cache-options
                        :polyfill-js (:polyfill-js state)
                        :injected-libs (::injected-libs state))
                 (util/reduce->

             (SourceMap$LocationMapping. resource-name (.getAbsolutePath file)))
           (into [])))))

(defn convert-sources*
  "takes a list of :js sources and rewrites them to using closure
   partial compiles must supply the cached sources so closure doesn't complain about things

                  (cache/write-file cache-file output)

                  (assoc idx resource-id cache-key)))
              (assoc cache-index
                :SHADOW-CACHE-KEY SHADOW-CACHE-KEY
                :CACHE-OPTIONS cache-options)
              recompile-sources)))]

    (when need-compile?
