Integrant methods for compiling and dynamically reloading ClojureScript files in the Duct framework using Figwheel. Figwheel is designed to be used during development. For compiling ClojureScript for a production release, use compiler.cljs.
To install, add the following to your project :dependencies
:
[duct/server.figwheel "0.3.1"]
This library provides the :duct.server/figwheel
key, and accepts the
same options as Figwheel.
{:duct.server/figwheel
{:css-dirs ["dev/resources"]
:builds [{:id :dev
:source-paths ["src"]
:build-options {:output-to "target/js/public/main.js"
:output-dir "target/js/public"
:optimizations :none}}]}}
See the Figwheel README for more information.
Copyright © 2019 James Reeves
Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.