This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-09-24
Channels
- # announcements (2)
- # beginners (131)
- # calva (4)
- # cider (29)
- # cljs-dev (18)
- # cljsrn (8)
- # clojure (61)
- # clojure-czech (1)
- # clojure-europe (5)
- # clojure-italy (14)
- # clojure-nl (6)
- # clojure-switzerland (2)
- # clojure-uk (125)
- # clojuredesign-podcast (10)
- # clojurescript (25)
- # clojutre (15)
- # clr (4)
- # code-reviews (4)
- # data-science (1)
- # emacs (1)
- # events (2)
- # fulcro (12)
- # graalvm (4)
- # jobs (2)
- # keechma (1)
- # off-topic (1)
- # pathom (18)
- # re-frame (3)
- # reagent (7)
- # shadow-cljs (106)
- # spacemacs (33)
- # sql (12)
- # xtdb (5)
Hi! I wrote a library using Google Closure and I used the new goog.module
instead of the old goog.provide/require
, but unfortunately it doesn’t work with CLJS. I know that the code cljs emits uses goog.provide
but here https://github.com/google/closure-library/wiki/goog.module:-an-ES6-module-like-alternative-to-goog.provide#how-do-i-use-a-googmodule-from-a-traditional-closure-file is a method to require goog.module
files in goog.provide
ones which I think would be cool if cljs supported.
If one would like to take a stab at it are the recommendations here https://clojure.atlassian.net/browse/CLJS-1543 valid?
@g7s this would be a pretty big effort I think. CLJS lags the closure library pretty significantly and uses a rather old version where the debug loader doesn't support this I believe
@thheller so you say that a first step would be to update the closure library that cljs uses..
I think the version currently used only supports loading regular goog.provide/require files
versions after that added a optional transpile step support for modules (es6 or goog)