Fork me on GitHub
#cljsjs
<
2017-01-23
>
akiroz00:01:09

@richiardiandrea Wow, I didn't know that.... the guide was kinda burried in the wiki. Guess I'll leave it here for others: https://github.com/clojure/clojurescript/wiki/JavaScript-Module-Support-(Alpha)

richiardiandrea00:01:54

@akiroz I think that is brand new stuff 😉

superstructor01:01:09

even with no need for externs I would still find it incredibly useful simply being able to pull dependencies off Clojars, so I’d be keen to continue using cljsjs instead of having to depend on another tool e.g. npm to fetch the deps @richiardiandrea

richiardiandrea01:01:19

@superstructor that part of dep management is definitely sound. I was thinking of trying yarn for pulling .node_modules, in theory it is better than npm

superstructor01:01:22

@richiardiandrea: yarn does look a lot better :thumbsup: personally I would like my only build dependencies to be the JVM and boot-clj (not Node.js / npm /yarn etc). Not only is it simpler, but our backend Clojure guys don't want to install Node.js just to be able to build the front end project. I guess in theory that could also be achieved with some kind of boot tasks / lein plugin that did the equivalent of npm / yarn.

richiardiandrea01:01:14

@superstructor yeah agree, though yarn has faster startup time. Still torn on this one. There is an experimental boot-npm btw. I am excited anyways for the new stuff, also because of node.js support

superstructor02:01:19

@richiardiandrea didn’t know about boot-npm, thanks for pointing that out 🙂 now just need a boot-yarn and maybe in future it might be possible to run all that on the JVM :thinking_face: