Integrant methods for running Shadow CLJS. Designed for the Duct framework, but can be used in any Integrant configuration.
This library is still very new and API may change.
Add the following dependency to your deps.edn file:
org.duct-framework/compiler.cljs.shadow {:mvn/version "0.1.0"}
Or to your Leiningen project file:
[org.duct-framework/compiler.cljs.shadow "0.1.0"]
This library provides Integrant methods for two keys:
:duct.compiler.cljs.shadow/release
:duct.compiler.cljs.shadow/server
Both take the same configuration, but have different applications. The 'release' key generates production-ready ClojureScript, while the 'server' key starts a Shadow CLJS development server.
The options for both keys are the same as a shadow-cljs.edn
file, with
one notable exception; instead of a map of build configurations under
the :builds
option, there is a single build configuration under the
:build
key.
For more information, see the documentation on Shadow CLJS configuration.
Copyright © 2024 James Reeves
Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.