This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-03-14
Channels
- # arachne (5)
- # architecture (2)
- # bangalore-clj (7)
- # beginners (96)
- # boot (34)
- # braveandtrue (1)
- # cider (12)
- # cljs-dev (38)
- # cljsrn (59)
- # clojure (326)
- # clojure-dev (35)
- # clojure-greece (1)
- # clojure-italy (6)
- # clojure-russia (47)
- # clojure-spec (16)
- # clojure-uk (25)
- # clojurescript (136)
- # core-async (18)
- # cursive (18)
- # datascript (2)
- # datomic (28)
- # dirac (6)
- # emacs (4)
- # garden (3)
- # hoplon (28)
- # instaparse (1)
- # jobs (4)
- # juxt (1)
- # lein-figwheel (10)
- # liberator (1)
- # mount (3)
- # off-topic (39)
- # om (16)
- # om-next (1)
- # onyx (15)
- # pedestal (9)
- # proton (1)
- # random (1)
- # re-frame (48)
- # reagent (8)
- # ring-swagger (4)
- # rum (3)
- # specter (5)
- # sql (3)
- # unrepl (273)
- # untangled (27)
- # vim (4)
- # yada (7)
can someone point me to some documentation about what is allowed in .cljs.edn
files for boot-cljs
?
{:require [foo.bar baz.baf]
:init-fns [foo.bar/init baz.baf/doit]
:compiler-options {:target :nodejs}}
@thheller if I read it right they are passed to the compiler with no change https://github.com/boot-clj/boot-cljs/blob/311709dd5f99eb09ee3469ea4995b5a066293429/src/adzerk/boot_cljs/middleware.clj#L40
@richiardiandrea wasnt talking about :compiler-options
but I guess the code answers my question
you are right it would be great to have them in the README
:rel-path
is not from cljs.edn
it is the relative path of the file, not from file contents
@thheller @richiardiandrea this was in the README at some point but got moved to the wiki so it’s easier to contribute for others: https://github.com/boot-clj/boot-cljs/wiki/Usage#options
@martinklepsch awesome, my bad I should have checked there first thing 😄
ah I guess I'm blind. just glanced over the table didn't see the .cljs.edn
in the header
how do I add a jar to the classpath with boot again?
@martinklepsch https://github.com/boot-clj/boot/blob/master/doc/boot.pod.md#add-classpath
@richiardiandrea sweet thanks!
https://github.com/boot-clj/boot/wiki/Snippets#accessing-test-resources, just drop the conj?
Hi, is anyone else having trouble getting boot-cljs 2.0.0 to run with clojurescript >1.9.456?
at clojurescript 1.9.473, I get Can't define method not in interfaces: _relative_path
at clojurescript 1.9.494, I get No such var: deps/-relative-path
These error messages are always shown to be originating from cljs/compiler.cljc
@micha I’m using clojure 1.9.14
@micha Just checked, I’m already on boot 2.7.1
sorry, when i said boot 2.0.0 i meant boot-cljs
let me edit it for clarity