         (update ::classpath-js-injected-libs set/union injected-libs)
         (util/reduce->
           (fn [state source-node]
-            (reset-but-keep-files source-map)
-
+            (.reset source-map)
 
             (let [name (.getSourceFileName source-node)]
 

        (update ::shadow-js-injected-libs set/union injected-libs)
        (util/reduce->
          (fn [state source-node]
            (reset-but-keep-files source-map)

            (let [name (.getSourceFileName source-node)]
              (cond

    (.setAccessible fld true)
    (.set fld o val)))

(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
