Liking cljdoc? Tell your friends :D

Integration with other tasks

.cljs.edn

Other tasks can modify the Cljs build options by modifying .cljs.edn files in the fileset. For example boot-reload and boot-cljs-repl add their client namespaces to :require vector in .cljs.edn files.

Examples:

Without .cljs.edn files

FIXME:

If tasks don't find .cljs.edn files, they don't currently have way to define which namespaces to include in build. This works for now, as Boot-cljs will create default .cljs.edn file, which has :require in any .cljs files in fileset. However, this causes the main file to require all the namespaces, even those that are unused.

Related

Can you improve this documentation?Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close