Integrant methods for compiling ClojureScript files in the Duct framework. This compiler is typically invoked before compiling an uberjar for production release. For working with ClojureScript during development, use server.figwheel.
To install, add the following to your project :dependencies
:
[duct/compiler.cljs "0.3.0"]
This library provides the :duct.compiler/cljs
key, and works much
the same way as lein-cljsbuild.
{:duct.compiler/cljs
{:builds [{:source-paths ["src"]
:build-options {:output-to "target/js/main.js"
:output-dir "target/js"
:optimizations :whitespace}}]}}
The :build-options
available are covered in the ClojureScript
page on compiler options.
Copyright © 2017 James Reeves
Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.