That change to :require was a good idea. I also just saw that the
browserific-app template and some other stuff were way out of date. Fixed
both of these things so now everything should work a little better. Sorry
if you tried it out and it broke right away.

On Wed, Mar 25, 2015 at 11:44 PM, Ed Babcock <greenyou...@gmail.com> wrote:

> > can you define any target you want?
>
> Yes, that was the main motivation. I would have used cljx but it wasn't
> compatible with anything but clojure and clojurescript.
>
> > say I want to slice between :nodejs vs :nashorn in a clojurescript
> target?
>
> To declare a new target, change the :features and :output-path. Try this:
>
> [{:source-paths ["src"],
>   :output-path "target/generated/nodejs",
>   :rules
>   {:filetype "cljs",
>    :features #{:nodejs},
>    :inner-transforms [],
>    :outer-transforms []}}
>  {:source-paths ["src"],
>   :output-path "target/generated/nashorn",
>   :rules
>   {:filetype "cljs",
>    :features #{:nashorn},
>    :inner-transforms [],
>    :outer-transforms []}}]
>
>
> On Wed, Mar 25, 2015 at 3:59 PM, Ivan L <ivan.laza...@gmail.com> wrote:
>
>> Also, you don't need a difference in require methods provided the
>> clojurescript version is greater than one of the ones released recently.
>> So long as your namespace declares the macros in itself via
>> :require-macros, you can require the macro namespace like a clojure require
>> in cljs.  (phew)
>>
>> --
>> Note that posts from new members are moderated - please be patient with
>> your first post.
>> ---
>> You received this message because you are subscribed to a topic in the
>> Google Groups "ClojureScript" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/clojurescript/I8HztgWsc9w/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> clojurescript+unsubscr...@googlegroups.com.
>> To post to this group, send email to clojurescript@googlegroups.com.
>> 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 clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to