Browse files

:source-map options, :target :nodejs option docs

  • Loading branch information...
1 parent 2bd8f6e commit 2e1d657fda989e804e8a0657f3ccb27bc1c6c1f4 @hura hura committed Feb 12, 2014
Showing with 5 additions and 0 deletions.
  1. +5 −0 sample.project.clj
View
5 sample.project.clj
@@ -108,6 +108,11 @@
; can be used to determine the original source of the compiled code.
; Defaults to false.
:print-input-delimiter false
+ ; If targeting nodejs add this line. Takes no other options at the moment.
+ :target :nodejs
+ ; See
+ ; https://github.com/clojure/clojurescript/wiki/Source-maps
+ :source-map "resources/public/js/main.js.map"
; Sets the output directory for temporary files used during
; compilation. Must be unique among all :builds. Defaults to
; "target/cljsbuild-compiler-X" (where X is a unique integer).

0 comments on commit 2e1d657

Please sign in to comment.