On Sun, Nov 16, 2014 at 1:49 PM, Nikita Prokopov <[email protected]> wrote:
> deps.cljs more or less works, at least for my use case (one extern file).
>
> 1) I found that path to externs file should be unique across all 
> dependencies. I think it’s counter-intuitive, and may lead to serious 
> problems in the future. E.g. two different lib authors decide to use name 
> `externs.js` for their libs, and everything is fine until somebody decides to 
> use both of them libs. From technical point of view, we can distinguish these 
> externs (they come from different libs), but current compiler implementation 
> fails, and not in a very gracious way. I created repo reproducing the issue: 
> https://github.com/tonsky/clojurescript_deps_test. Should I create a 
> ticket/submit a patch somewhere?

Ticket & patch welcome.

> 2) I believe deps.cljs should be promoted to official convention, so other 
> build tools may start relying on it. It would help if most popular CLJS 
> projects will adopt this (e.g. swannodette/react-cljs could use it as an 
> example. DataScript already uses it)

Agreed.

David

-- 
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.

Reply via email to