Fork me on GitHub

Hi, I have a deps.edn build configuration as follows:

:aliases {:fig {:extra-deps
                  {com.bhauman/rebel-readline-cljs {:mvn/version "0.1.4"}
                   com.bhauman/figwheel-main {:mvn/version "0.2.11"}}
                 :extra-paths ["target" "test"]}
           :build {:main-opts ["-m" "figwheel.main" "-b" "dev" "-r"]}
           :min   {:main-opts ["-m" "figwheel.main" "-O" "advanced" "-bo" "dev"]}
           :test  {:main-opts ["-m" "figwheel.main" "-co" "test.cljs.edn" "-m" "smiley-cljs.test-runner"]}}}
The run through clj -M:fig:build is successful. But when I try to run clj -M:fig:min I get the following error:
[Figwheel] Failed to compile build dev in 9.241 seconds.
[Figwheel:WARNING] Compile Exception: Illegal char <:> at index 2: /H:/Work/Clojure/smiley/target/public/cljs-out/dev/cljs/core.js  
[Figwheel:SEVERE] Illegal char <:> at index 2: /H:/Work/Clojure/smiley/target/public/cljs-out/dev/cljs/core.js
How can the build version compile but the minification doesn't work? Also what is the correct way to deploy a figwheel clojurescript project such that the clojurescript script is not visible in production environment?