Closed tuhlmann closed 9 years ago
You would probably want to use the asset-minifier library directly instead of using the plugin.
Thanks for your help! That would work. Is there a way to read the leiningen minifier settings, or do I need to repeat them?
You could probably just read it from the project.clj
(->> (slurp "project.clj")
read-string
(drop-while #(not= :minify-assets %))
second)
Thanks, I got this working!
Hi,
I'd like to run minify-assets once or in watch mode programmatically, when starting (run) from the repl (its a reagent template).
"run" starts figwheel and others, adding minify-assets there though leads to different exceptions. The simplest case I could think of was to run it once inside the main thread (no future):
This leads to the following exception:
Is there another way to add minify-assets, or do I have to run it from a separate terminal?
Thanks.