Skip to content

Instantly share code, notes, and snippets.

@liwp
Created February 27, 2014 20:47
Show Gist options
  • Save liwp/9259234 to your computer and use it in GitHub Desktop.
Save liwp/9259234 to your computer and use it in GitHub Desktop.
A project.clj file for node.cljs with source-map support
(defproject hello-world "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-2173"]]
:plugins [[lein-cljsbuild "1.0.2"]]
:source-paths ["src"]
:cljsbuild {:builds [{:id "hello-world"
:source-paths ["src"]
:compiler {:output-to "hello_world.js"
:output-dir "out"
:target :nodejs
:source-map "hello_world.js.map"
:optimizations :simple}}]})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment