;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Without source-maps
cljs.user=> (b/build "src" {:target :nodejs
#_=> :optimizations :advanced
#_=> :output-to "birch-compiled.js"
#_=> :main 'birch.core})
nil
;; builds fine
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; with source maps
cljs.user=> (b/build "src" {:target :nodejs
#_=> :optimizations :advanced
#_=> :output-to "birch-compiled.js"
#_=> :source-map "birch-compiled.js.map"
#_=> :output-dir "out"
#_=> :main 'birch.core})
#error {:message "failed compiling file:out/cljs/core.cljs", :data {:file "out/cljs/core.cljs"}, :cause #error {:message "failed compiling file:out/cljs/nodejs.cljs", :data {:file "out/cljs/nodejs.cljs"}, :cause #error {:message "Could not parse ns form cljs.nodejs", :data {:tag :cljs/analysis-error}, :cause #error {:message "failed compiling file:/home/arne/LambdaIsland/Episodes/command_line_tools_with_lumo/src/birch/core.cljs", :data {:file "/home/arne/LambdaIsland/Episodes/command_line_tools_with_lumo/src/birch/core.cljs"}, :cause #error {:message "Could not analyze dep cljs.nodejs", :data {:tag :cljs/analysis-error}, :cause #error {:message "Could not analyze dep clojure.string", :data {:tag :cljs/analysis-error}, :cause #error {:message "Could not parse ns form birch.core", :data {:tag :cljs/analysis-error}, :cause #object[Error Error: java.lang.RuntimeException: java.lang.RuntimeException: com.google.gwt.core.client.JavaScriptException: (ReferenceError) : window is not defined]}}}}}}}
;; BOOM