Is there a way to subtract out a namespace? For example Promesa bundles Bluebird (npm js dep), but i need promesa to come through my own npm toolchain so it is visible via require, so i had to fork promesa to remove the deps.cljs https://github.com/funcool/promesa/blob/master/assets/deps.cljs
On Sun, May 22, 2016 at 3:49 PM, Dustin Getz <[email protected]> wrote: > oh wow i didnt know about that thanks > > On Sun, May 22, 2016 at 3:45 PM, Leon Grapenthin <[email protected] > > wrote: > >> On Sunday, May 22, 2016 at 5:38:32 PM UTC+2, Dustin Getz wrote: >> > I use webpack as well for npm ecosystem interop, really the only >> annoying bit is shimming out cljsjs from all cljs deps which sometimes >> involves forking. >> >> @Dustin you can provide those deps using synthetic namespaces. E. G. >> >> :foreign-libs >> [{:file "foreign-js/main.js" >> :provides [;; Fake "synthetic namespaces >> "cljsjs.react" >> "cljsjs.react.dom" >> "flibs.react-bootstrap"]}] >> >> -- >> 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/vMKCS-p6fcs/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at https://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 https://groups.google.com/group/clojurescript.
