 
 ; Because this ns is loaded in pod, it's private to one cljs task.
 ; Compiler env is a atom.
-(def ^:private stored-env (empty-state))
+(def ^:private stored-env (atom nil))
 
 (defn ns-dependencies
   "Given a namespace as a symbol return list of namespaces required by the namespace."

                                         "\n"))
                        (butil/dbug* "%s\n" (butil/pp-str warning-data))
                        (swap! warnings conj warning-data)))))]
    (try
      (build
        (inputs input-path)
        (assoc opts :warning-handlers [handler])
        stored-env)
      {:warnings  @warnings
       :dep-order (dep-order stored-env opts)}
      (catch Exception e
        {:exception (util/serialize-object (handle-ex e source-paths dirs))}))))


            [clojure.string :as str]
            [clojure.edn :as edn]
            [cljs.analyzer :as ana]
            [cljs.env :as env]
            [cljs.analyzer.api :as ana-api :refer [warning-enabled?]]
            [cljs.build.api :as build-api :refer [build inputs target-file-for-cljs-ns]]
            [clojure.java.io :as io]
            [adzerk.boot-cljs.util :as util]
