A Leiningen plugin for automatic ClojureScript compilation and development workflows.
lein-cljsbuild is a Leiningen plugin that automates the compilation of ClojureScript code into JavaScript. It solves the problem of manual compilation and JVM startup delays by providing automatic rebuilding on file changes and integrating compiler configuration directly into the Leiningen project file.
Clojure and ClojureScript developers using Leiningen as their build tool, particularly those working on web applications or libraries who need efficient compilation workflows.
Developers choose lein-cljsbuild for its tight integration with Leiningen, eliminating the need for external build tools, and its features like parallel builds, REPL support, and testing automation that streamline ClojureScript development.
Leiningen plugin to make ClojureScript development easy.
Configures ClojureScript compiler options directly in project.clj, eliminating the need for external build scripts and making development feel native to the Leiningen ecosystem.
Watches source files and recompiles on changes with 'lein cljsbuild auto', avoiding repeated JVM startup overhead for faster iterative development, as highlighted in the README.
Supports compiling multiple configurations simultaneously, useful for library development or different optimization levels, demonstrated in the advanced example projects.
Launches ClojureScript REPLs for interactive coding and runs external test processes, with dedicated documentation linked for seamless integration into workflows.
Known issues with hooks, especially for uberjar builds (issue #366), require workarounds like using :prep-tasks instead, adding complexity and potential for errors.
Tied strictly to Leiningen, making it incompatible with alternative Clojure build tools like Boot or tools.deps, which limits flexibility in modern Clojure projects.
The latest version is 1.1.8 from years ago, with deprecation notes for features like crossovers, suggesting reduced updates and potential compatibility issues with newer ClojureScript versions.
Figwheel builds your ClojureScript code and hot loads it into the browser as you are coding!
ClojureScript compilation made easy
Fast, cross-platform, standalone ClojureScript environment
Devcards aims to provide a visual REPL experience for ClojureScript
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.