Skip to content

Duct module for developing and compiling ClojureScript

Notifications You must be signed in to change notification settings

biotz/module.cljs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Duct module.cljs

Clojars Project Build Status

A Duct module that adds support for compiling ClojureScript for production and development.

Note: Breaking change!

This fork experimentally uses Figwheel Main. Pay attention to config differences.

Installation

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

Clojars Project

Usage

To add this module to your configuration, add the :duct.module/cljs key to your configuration. You'll need to specify your main ClojureScript namespace via the :main key:

{:duct.module/cljs {:main foo.client}}

This sets up the compiler.cljs key for compiling via lein run :duct/compiler, and the server.figwheel-main key for dynamically reloading ClojureScript files during development when calling (reset) in the REPL.

License

Copyright © 2020 Magnet S Coop.

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

About

Duct module for developing and compiling ClojureScript

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Clojure 100.0%