This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-09-10
Channels
- # announcements (14)
- # bangalore-clj (1)
- # beginners (89)
- # calva (166)
- # cider (33)
- # clara (12)
- # clj-kondo (1)
- # cljdoc (8)
- # clojure (101)
- # clojure-austin (1)
- # clojure-colombia (7)
- # clojure-dev (14)
- # clojure-europe (5)
- # clojure-hamburg (10)
- # clojure-italy (9)
- # clojure-nl (31)
- # clojure-spec (4)
- # clojure-uk (39)
- # clojurescript (17)
- # clojutre (3)
- # code-reviews (16)
- # cursive (72)
- # data-science (1)
- # datomic (81)
- # duct (8)
- # emacs (4)
- # figwheel-main (1)
- # graalvm (2)
- # jobs (9)
- # kaocha (21)
- # lambdaisland (2)
- # luminus (4)
- # off-topic (35)
- # re-frame (1)
- # reagent (101)
- # reitit (4)
- # ring-swagger (5)
- # shadow-cljs (17)
- # sql (40)
- # tools-deps (4)
- # vim (28)
hello everyone, is there any alternative to "macchiato"?
I don't know of any - do you have any issues with it? I quite like it and also have it in production.
in general, what's the update cadence to google closure compiler? I see there's an open regression on the JIRA from march or so, and obviously trying to keep up with every closure compiler release is a bit...aggressive.
there's nothing I'm missing, I was just browsing through the cljs source and was curious since it's a 2018 series release
I'm using infer-externs + global-exports based on the webpack guide, but the externs are being rewritten 🙈 is there anything obvious I might miss?
I have some experience with this issue. Do you mind sharing your webpack code and the deps.edn code you're using?
tl;dr -- I found that it comes down to two things... first, I use figwheel to do my compilation, since it handles the webpack stuff surprisingly well, and a lot of it depends on how you access the webpack code from your javascript code.
:infer-externs true
:npm-deps false
:foreign-libs [{:file "../front-end/build/static/js/bundle.js"
:provides ["react" "react-dom" ""]
:global-exports {react React
react-dom ReactDOM
App}}]
for instance I've found (.. webpack-thing -some-attr (some-method x))
to be very unreliable, but (js/webpackThing.someAttr.SomeMethod x)
works very reliably
and that does your bundle.js
and webpack.config.js
look like?
trying to figure that out 😄 It's a little complicated due to the ejected create react app
It appears that my inferred externs don't contain the appropriate lines. I'm not sure why that would happen though.
It appears that my inferred externs don't contain the appropriate lines. I'm not sure why that would happen though.
Hi, I’m having trouble to get :source-map-asset-path
compiler option to work. The js file is generated correctly but`//# sourceMappingURL=` remains as it was before I added the option
@dnolen recently you've added a note about fn-invoke-direct generating incorrect code for Reagent https://github.com/clojure/clojurescript-site/commit/7d66be04cfd77c5124d2dd0bf346964aecabbda3 could you provide more detail about this?