Boot task to compile ClojureScript applications.
- Provides the
cljs
task for compiling ClojureScript to JavaScript - Supports ClojureScript versions since 1.7.28
- Provides a mechanism by which multiple multiple JS applications can be compiled in the same project.
- Related projects: boot-reload and boot-cljs-repl
Add ClojureScript and boot-cljs
to your build.boot
dependencies and require
the namespace:
(set-env! :dependencies '[[adzerk/boot-cljs "X.Y.Z" :scope "test"]])
(require '[adzerk.boot-cljs :refer [cljs]])
You can see the options available on the command line:
boot cljs --help
Or the same in the REPL:
boot.user=> (doc cljs)
For more comprehensive guide check wiki.
- Check differences to Lein Cljsbuild when porting a project.
- Simple example
- boot-cljs-example - An example project with a local web server, CLJS REPL, and live-reload.
- Saapas example project - Opinionated example project for Boot.
- Tenzing project template - ClojureScript application template.
- Modern ClojureScript - Series of tutorials for ClojureScript. Uses Boot.
Copyright © 2014 Adzerk
Copyright © 2015-2016 Juho Teperi
Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.