     :build-ids build-ids)))
 
 (defn prep-figwheel-config [config]
-  (let [prepped (-> config
-                    (update-in [:all-builds] prep-builds)
-                    (update-in [:figwheel-options] prep-options))]
+  (let [prepped (update config :all-builds prep-builds)]
     (assoc prepped
            :build-ids
            (mapv :id

  (-> builds
      map-to-vec-builds
      (->> (mapv prep-build))))

(defn prep-options
  "Normalize various configuration input."
  [opts]
  (->> opts
       no-seqs
       (apply-to-key str :ring-handler)
       (apply-to-key str :http-server-root)       
       (apply-to-key str :open-file-command)
       (apply-to-key str :server-logfile)))

;; high level configuration helpers


   [clojure.walk :as walk]
   [cljs.env]))

(defn get-build-options [build]
   (or (:build-options build) (:compiler build) {}))

(defn mkdirs [fpath]
  (let [f (io/file fpath)]
    (when-let [dir (.getParentFile f)] (.mkdirs dir))))

;; TODO compiler probably handles this now
(defn ensure-output-dirs!
