Skip to content

Instantly share code, notes, and snippets.

@piatra
Created December 8, 2013 00:10
Show Gist options
  • Save piatra/7851658 to your computer and use it in GitHub Desktop.
Save piatra/7851658 to your computer and use it in GitHub Desktop.
Example configuration file for a CLJS Node project.
(defproject node "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.5.1"]
[org.clojure/clojurescript "0.0-1978"]]
:plugins [[lein-cljsbuild "0.3.4"]]
:cljsbuild {
:builds {
:dev {
:source-paths ["src-cljs"]
:compiler {:output-to "dest/index.js"
:optimizations :simple
:target :nodejs}}
:prod {
:source-paths ["src-cljs"]
:compiler {:output-to "dest/index.opt.js"
:optimizations :advanced
:target :nodejs}}}})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment