               (throw (ex-info "cljs file did not provide a namespace" {:file name})))
 
             (assoc rc
-              :output js
-              :requires requires
-              :require-order require-order
-              :compiled-at (System/currentTimeMillis)
-              :provides #{ns}
-              :compiled true
-              :warnings warnings
-              :ast ast
-              :forms forms
-              :source-map source-map)))))))
+                   :output js
+                   :requires requires
+                   :require-order require-order
+                   :compiled-at (System/currentTimeMillis)
+                   :provides #{ns}
+                   :compiled true
+                   :warnings warnings
+                   :ast ast
+                   :forms forms
+                   :source-map source-map)))))))
 
 
 (defn get-cache-file-for-rc

            (cond->
              source-map?
              (-> (assoc :source-map-json
                    (let [sw (StringWriter.)]
                      (.appendTo sm sw js-name)
                      (.toString sw)))
                  (update :output str "\n//# sourceMappingURL=" (file-basename js-name) ".map\n"))))))))



        modules
        (sort-and-compact-modules state)]
    (assoc state
           :build-modules modules
           :build-sources (into [] (mapcat :sources modules)))))

(defn compile-modules*
  "compiles source based on :build-modules (created by prepare-modules)"
