This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-04-01
Channels
- # beginners (28)
- # cider (39)
- # cljs-dev (2)
- # cljsjs (1)
- # clojure (67)
- # clojure-conj (1)
- # clojure-dev (103)
- # clojure-gamedev (3)
- # clojure-uk (2)
- # clojurescript (46)
- # data-science (7)
- # datascript (1)
- # fulcro (5)
- # lein-figwheel (2)
- # mount (2)
- # off-topic (55)
- # portkey (7)
- # protorepl (11)
- # re-frame (45)
- # reagent (21)
- # shadow-cljs (34)
- # tools-deps (3)
- # vim (8)
- # yada (1)
version 2.2.21
EDIT: looks like this was a build issue. I’ve run into this at least twice now, still haven’t build up the habit of cleaning :output-dir
(which solved it for me). @thheller have you considered to programmatically wipe all target output between versions?
I'm getting "module without entry or suffix: jquery ? On build entry put :js-options :resolve {"jquery" {:target :global :global "jQuery"} }
When You call "shadow-cljs cljs-repl cards" and press ) the repl exits. Are you using a different repl client with shadow-cljs ?
@geraldodev shadow-cljs does not touch the user.clj
. Clojure does. whatever you put in there will be loaded by clojure.
@denik cleaning output-dir should never be necessary since the compiler is supposed to overwrite all relvant files. if you have something that is happening consistently thats a bug you should report.
@thheller Unfortunately I don’t think I have anything reproducible enough. Only noticing that things break between version updates. And then I spend hours trying to figure out what’s going in. Could this maybe have to do with upgrading cljs to 1.10..?
@geraldodev the )
exit should not happen. it is indeed a bug.
@thheller do you want me to open an issue ?
man I was looking your code, beautiful use of spaces.
I find interesting that you bundle clojurescript. That means that shadow-cljs is kind of a curator of cljs versions
Do you remember which clojure code touches user.clj ?
what do you mean? shadow-cljs is just a build tool for clojurescript. it uses clojurescript to compile everything.
Because it bundles a specific version
It felt strange when the lack of tools.namespace dependency required by user.clj was blowing the compilation process.
it in the RT.doInit
function which is one of the first things that gets called when clojure starts
@thheller Is https://github.com/bhauman/devcards/pull/135 preventing the use of devcards with shadow-cljs ?
Or have you seen users using devcards with shadow-cljs ?
@geraldodev you can use devcards just fine. only need to use (:require [devcards.core :as devcards :include-macros true])
@thheller Thank You! now I'm back in the game
I saw that :compiler-options {:devcards true} on one githubrepo but I was thinking It was a mistake, because I didnt see :devcards on neither shadow-cljs and clojurescript searching with ag
Anyone using with cider?
@alex-dixon not me, but have you seen this? http://www.blog.nodrama.io/shadow-cljs-cider/
Not yet. Came across this so I was thinking it should recognize shadow-cljs.edn now but no luck. https://github.com/clojure-emacs/cider/commit/973e1041bd0a7f6e60dbda126e20d90b870bab05
@alex-dixon it works if you use a cider snapshot version but I don't think it was officially released yet
Ok. I just pulled 0.17.0-snapshot I think…date was from yesterday. I’m an emacs noob so not positive. Going to try with atom