Hi everyone!

My understanding is that you can use 'deps.cljs' to manage external JS
libraries that are not compatible with advanced compilation like so:

{
 :foreign-libs [{:file     "react/react.js"
                 :file-min "react/react.min.js"
                 :provides ["com.facebook.React"]}
                {:file     "react/react_with_addons.js"
                 :file-min "react/react_with_addons.min.js"
                 :provides ["com.facebook.ReactWithAddons"]}]
 :externs ["react/externs/react.js"]
}

Currently, it looks like unless there is a CLJSJS package available, 
you would add an entry to this file and manually download/setup the
dependency somewhere is your source tree.

Would it be feasible to automatically populate this file based on the
contents of your 'node_modules' or 'bower' directories instead? This way
you can 'npm install --save' packages that aren't in CLJSJS and use them
with minimal fuss. Does something like this exist already?

Hope this isn't a stupid question!

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