Skip to content

duct-framework/compiler.cljs.shadow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Duct Shadow CLJS Compiler Build Status

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.

Installation

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"]

Usage

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.

License

Copyright © 2024 James Reeves

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

About

Integrant methods for running Shadow CLJS

Resources

License

Stars

Watchers

Forks

Packages

No packages published