I'm using the build file from the 'Quick-Start Auto building section' and it
looks like this:
(require 'cljs.build.api)
(cljs.build.api/watch "src" {
:main 'jsp.core
:target :nodejs
:output-to "out/main.js"})
the import section looks like this:
(ns jsp.core
(:require [cljs.nodejs :as nodejs]
[clojure.walk :as walk]
[cljs.pprint :refer [pprint]]
)
)
Just excluding pprint reduces the compile time. With leiningen it drops from 4
seconds to 0.3 seconds, with the standalone compiler.jar from 2 seconds to 0.2
seconds
--
Note that posts from new members are moderated - please be patient with your
first post.
---
You received this message because you are subscribed to the Google Groups
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.