* Can I require commonjs file?
* Can I use commonjs packages?
* ES6 is starting to taking over the JavaScript world, does cljs compiler recognise import and export?
Took me long time to find this piece https://github.com/mrmcc3/boot-rev
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 clojurescrip...@googlegroups.com.
To post to this group, send email to clojur...@googlegroups.com.
Visit this group at https://groups.google.com/group/clojurescript.
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 clojurescrip...@googlegroups.com.
To post to this group, send email to clojur...@googlegroups.com.
Visit this group at https://groups.google.com/group/clojurescript.