              (map (fn [{:keys [url] :as info}]
                     (if (nil? url)
                       info
-                      (with-open [con (.openConnection url)]
+                      (let [con (.openConnection url)]
                         (assoc info :last-modified (.getLastModified con)))
                       )))
              ;; get file (if not in jar)

          (seq module-type)
          (merge (let [ns (filename->ns name)]
                   (assert (<= 0 (count provides) 1) "module with more than one provide?")
                   {:module-type (keyword module-type)
                    :module-alias (first provides)
                    :ns ns

;; (set! *warn-on-reflection* true)

(def SHADOW-TIMESTAMP
  (-> (io/resource "shadow/cljs/build.clj")
      (.openConnection)
      (.getLastModified)))

(def default-externs (CommandLineRunner/getDefaultExterns))

