misaki.compiler.cljs.core documentation

ClojureScript compiler for misaki.

-compile

(-compile config file)
Compile clojurescripts.

-config

(-config config)
ClojureScript compling configuration.

* _config.clj
  `:cljs-compile-options`: Setting for clojurescript compiling.

* default setting
  {:src-dir       "cljs"
   :output-to     "js/main.js"
   :optimizations :whitespace
   :pretty-print  true}

-extension

(-extension)
Watch *.cljs extension.

DEFAULT_CLJS_OPTION

Default clojurescript compiling options.

log

macro

(log label body)(log label body force?)
Print compile result log with `:detailed-log` option.