I have a toy-project Clojurescript + reagent and everything works fine for the dev build. Is it possible to start in REPL the mini-fied version ?
I am copying below the project.clj file and the main method of the core.cljs file.
(defproject reagen-demo22 "0.1.0-SNAPSHOT"
:dependencies [[org.clojure/clojure "1.8.0"]
[org.clojure/clojurescript "1.9.229"]
[reagent "0.6.0"]]
:min-lein-version "2.5.3"
:source-paths ["src/clj"]
:plugins [[lein-cljsbuild "1.1.4"]]
:clean-targets ^{:protect false} ["resources/public/js/compiled"
"target"]
:figwheel {:css-dirs ["resources/public/css"]}
:profiles
{:dev
{:dependencies []
:plugins [[lein-figwheel "0.5.8"]]
}}
:cljsbuild
{:builds
[{:id "dev"
:source-paths ["src/cljs"]
:figwheel {:on-jsload "reagen-demo22.core/reload"}
:compiler {:main reagen-demo22.core
:optimizations :none
:output-to "resources/public/js/compiled/app.js"
:output-dir "resources/public/js/compiled/dev"
:asset-path "js/compiled/dev"
:source-map-timestamp true}}
{:id "min"
:source-paths ["src/cljs"]
:compiler {:main reagen-demo22.core
:optimizations :advanced
:output-to "resources/public/js/compiled/app.js"
:output-dir "resources/public/js/compiled/min"
:closure-defines {goog.DEBUG false}
:pretty-print false}}
]})
and the main section of the core namespace:
(defn ^:export main []
(r/render-component
[display-the-list]
(.getElementById js/document "app")))
Thank you in advance for any help: link/hint/URL/doc!!