figwheel-main

figwheel-main http://figwheel.org
dharrigan 2019-11-11T12:34:50.002800Z

Quite new to this and I'm using the clj tools, not lein, to do the building etc.. I'm able to produce the dev and a production build. Does anyone have any hints/tips for packaging production? I tested it working by copying my "resources/public/index.html" and "target/public/*" to one directory and I'm able to serve up the content. Is there something that would do that (yes, I could write the script to do this, but I'm sure this is a solved problem so don't want to re-invent the wheel). Thank you!

pez 2019-11-11T12:39:33.003500Z

Using Leiningen or something else?

dharrigan 2019-11-11T13:10:54.003700Z

clojure tools

dharrigan 2019-11-11T13:11:00.004Z

clj/clojure and deps.edn

dharrigan 2019-11-11T13:17:44.004200Z

ignore me

dharrigan 2019-11-11T13:17:47.004400Z

easssssily fixed

dharrigan 2019-11-11T13:18:06.004700Z

production.cljs.edn

dharrigan 2019-11-11T13:18:09.004900Z

{:main foo.core
 :output-to "resources/public/main.js"
 :optimizations :advanced}

dharrigan 2019-11-11T13:18:17.005100Z

then just tar up the public directory

dharrigan 2019-11-11T13:18:21.005300Z

all wunderbar!

pez 2019-11-11T13:39:00.005900Z

:bananadance: