This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-02-07
Channels
- # aleph (3)
- # aws (7)
- # beginners (117)
- # boot (119)
- # cider (2)
- # cljs-dev (3)
- # clojure (193)
- # clojure-austin (1)
- # clojure-dusseldorf (4)
- # clojure-finland (5)
- # clojure-france (5)
- # clojure-italy (7)
- # clojure-portugal (1)
- # clojure-russia (204)
- # clojure-serbia (5)
- # clojure-spec (31)
- # clojure-uk (64)
- # clojurescript (288)
- # community-development (9)
- # core-async (54)
- # cursive (8)
- # datascript (18)
- # datomic (26)
- # dirac (8)
- # emacs (26)
- # figwheel (1)
- # hoplon (16)
- # jobs (2)
- # jobs-discuss (4)
- # juxt (1)
- # lein-figwheel (4)
- # leiningen (14)
- # london-clojurians (2)
- # lumo (17)
- # off-topic (44)
- # om (63)
- # om-next (2)
- # onyx (26)
- # perun (14)
- # planck (5)
- # portland-or (34)
- # proton (2)
- # protorepl (8)
- # quil (1)
- # re-frame (6)
- # reagent (16)
- # remote-jobs (4)
- # ring (7)
- # ring-swagger (10)
- # rum (1)
- # untangled (2)
@anmonteiro I have a doubt that you might be able to help with
I’ve playing with the cljs.js
namespace specifically the compile-str
call, however what I am missing is the compiler options I have in the java clojurescript compiler, in specific target :nodejs
I want to be able to generate js code that can be run with nodejs, but the cljs.js
namespace does not seem to have that capability yet? would that be accurate?
@stbgz I don't think it's the job of cljs.js
to provide the ability of :target :nodejs
that's all handled by cljs.closure
what specifically do you mean by compatible with Node.js?
CLJS compiled with compile-str
should be able to run on Node
well if I compared the string generated from compile-str
to a build with cljs build once
they are not the same
at this point I don’t care about the optimizations, however I am realizing there are might be other things that cljs.closure is doing
there definitely are
yeap 😕. My goal basically is to provide something like cljs.build.api/build
in pure cljs
that's gonna take you a lot of work
that's my dream for Lumo too
@stbgz maybe we should join forces instead 🙂
@anmonteiro sure thing… I was doing some investigation as part of my work for calvin