Thanks for the quick response!
On Wednesday, April 16, 2014 1:17:54 PM UTC+2, David Nolen wrote:
> :preamble is really only intended to be paired with :whitespace, :simple, or
> :advanced optimizations. When using :none just link to a local copy of the
> React source or one from the Facebook CDN.
So I changed to:
{:id "products"
:source-paths ["src" "examples/products"]
:compiler {:preamble ["react/react.min.js"]
:output-to "examples/products/main.js"
:output-dir "examples/products/out"
:source-map "examples/products/main.map"
:optimizations :whitespace}}
... still no React in the preamble.
Any ideas?
Cheers,
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.