           (flush-module-data))
         (flush-manifest))))
 
-
-
 (defn make-web-worker-prepend [state mod]
   (let [all
         (get-all-module-deps state mod)

(def ^Escaper js-escaper
  (SourceCodeEscapers/javascriptEscaper))

(defn eval-load-sources [state sources]
  (->> sources
       (remove #{output/goog-base-id})
       (map #(data/get-source-by-id state %))
       (map (fn [{:keys [output-name] :as rc}]
              (let [{:keys [js] :as output} (data/get-output! state rc)

                    source-map?
                    (output/has-source-map? output)]
                (str "SHADOW_ENV.evalLoad(\"" output-name "\", " source-map? " , \"" (.escape js-escaper ^String js) "\");")
                )))
       (str/join "\n")))

(defn flush-unoptimized-module-eval!
  [{:keys [unoptimizable build-options] :as state}
   {:keys [goog-base output-name prepend append sources web-worker] :as mod}
   target]

  (let [sources

                    default
                    []

                    (or release? (= :eval (get-in config [:devtools :loader-mode] :eval)))
                    [(str asset-path "/" (:output-name module))]

                    :else ;; dev-mode
