This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-05-19
Channels
- # announcements (1)
- # asami (75)
- # beginners (16)
- # calva (14)
- # cider (4)
- # clj-kondo (11)
- # cljs-dev (3)
- # clojure (110)
- # clojure-australia (1)
- # clojure-china (1)
- # clojure-europe (38)
- # clojure-hk (1)
- # clojure-indonesia (1)
- # clojure-japan (1)
- # clojure-korea (1)
- # clojure-my (1)
- # clojure-nl (1)
- # clojure-sg (1)
- # clojure-spec (1)
- # clojure-taiwan (1)
- # clojure-uk (2)
- # clojurescript (34)
- # conjure (1)
- # data-science (9)
- # datahike (7)
- # datalevin (1)
- # datascript (1)
- # datomic (5)
- # etaoin (1)
- # fulcro (23)
- # graalvm (50)
- # helix (4)
- # hyperfiddle (8)
- # introduce-yourself (1)
- # jobs (3)
- # kaocha (10)
- # malli (8)
- # mid-cities-meetup (1)
- # minecraft (1)
- # off-topic (13)
- # pathom (14)
- # polylith (38)
- # reitit (1)
- # releases (1)
- # sci (65)
- # shadow-cljs (28)
- # specter (12)
- # tools-deps (8)
- # vim (1)
- # vscode (11)
- # xtdb (31)
any examples on how to use https://shadow-cljs.github.io/docs/UsersGuide.html#build-hooks? I'm getting build hook: my.util/hook failed to load and will not be used
@mrdalloca start a clojure repl and load the namespace. eg. shadow-cljs clj-repl
then (require 'my.util)
. that apparently fails?
aah now I see!
it has to be a .clj file
is there any way to interact with the cljs runtime during compilation?
during compilation there is no cljs runtime. the runtime will only load the final result
a very specific use case haha
I want to be able to load malli schemas and spit out a file containing said schemas (simplifying)
those schemas are defined in my cljs code
that's what I thought
I'm doing some porting to test this
Just wondering if anyone has used this recently? https://clojureverse.org/t/help-wanted-release-bundle-size-visualization/871/10
I just tried it but I’m getting:
shadow.user=> (shadow/release-snapshot :app {})
Syntax error compiling at (REPL:1:1).
No such var: shadow/release-snapshot
aaahhh sorry about that - I did first try searching the user guide for release-snapshot
but didn’t see anything. Thanks again for all your hard work on shadow - such a great tool!
@thheller if I'm using snapshot dependencies, how to download them again?
I'm just deleting the dependencies from disk 😛
working for now but not ergonomic haha