This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-01-27
Channels
- # aws-lambda (3)
- # beginners (3)
- # boot (327)
- # capetown (2)
- # cider (156)
- # cljs-dev (368)
- # cljsjs (13)
- # cljsrn (53)
- # clojure (403)
- # clojure-czech (5)
- # clojure-dev (4)
- # clojure-greece (2)
- # clojure-russia (72)
- # clojure-spec (12)
- # clojure-uk (129)
- # clojurescript (156)
- # core-async (1)
- # cursive (33)
- # datomic (35)
- # emacs (10)
- # events (1)
- # hoplon (4)
- # jobs-discuss (3)
- # klipse (1)
- # lein-figwheel (14)
- # leiningen (5)
- # luminus (5)
- # off-topic (15)
- # om (69)
- # om-next (2)
- # onyx (2)
- # parinfer (15)
- # perun (12)
- # re-frame (30)
- # reagent (7)
- # ring-swagger (8)
- # spacemacs (10)
- # specter (6)
- # untangled (69)
- # yada (13)
Another noob question...Writing react-toolbox-1.3.3-0.jar… where is it?
Can anybody give me a hand figuring out externs for an ES6 library?
@peeja No, Cljsjs package only includes the JS files
@peeja However, you can include Webjars for package with all the files: [org.webjars.bower/bootstrap "3.3.7"]
That jar includes e.g. META-INF/resources/webjars/bootstrap/3.3.7/less/bootstrap.less
my Less4clj package can directly import files from classpath and has special case for resolving imports from webjars: https://github.com/Deraen/less4clj
I’m trying to package react-toolbox (https://github.com/pupeno/packages/commit/a054c1cdeb0a1b4195e974113826f17f0a4f5f72) and when I load it in my app, I get the error: Uncaught Error: locals[0] does not appear to be a module
object with Hot Module replacement API enabled. You should disable react-transform-hmr in production by using env
section in Babel configuration. See the example in README: https://github.com/gaearon/react-transform-hmr
Does that ring a bell to anybody?