Skip to content
Integrant methods for running Figwheel
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dev
src
.gitignore
README.md
project.clj

README.md

Duct server.figwheel

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.

Installation

To install, add the following to your project :dependencies:

[duct/server.figwheel "0.3.1"]

Usage

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.

License

Copyright © 2019 James Reeves

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.

You can’t perform that action at this time.