Michael,
I just tried the following for the "todo" build:
{:id "todo"
:source-paths ["src" "examples/todo"]
:compiler {:preamble ["react/react.min.js"]
:output-to "examples/todo/main.js"
:output-dir "examples/todo/out"
:source-map "examples/todo/main.js.map"
:optimizations :whitespace}}
main.js has the preamble.
HTH,
David
On Wed, Apr 16, 2014 at 7:48 AM, Michael Sperber <[email protected]>wrote:
> On Wednesday, April 16, 2014 1:45:53 PM UTC+2, Tim Visher wrote:
>
> > I checked your project out and ran `lein cljsbuild once test` and
> > `target/tests.js` is preambled with react.
>
> I know. But the other two targets - products and todo - don't get it
> preambled.
>
> (Should have written that. Sorry.)
>
> Regards,
> Mike
>
> --
> 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.
>
--
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.