This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-04-08
Channels
- # announcements (13)
- # asami (9)
- # aws (1)
- # aws-lambda (1)
- # babashka (37)
- # beginners (70)
- # calva (19)
- # cider (23)
- # clara (10)
- # clj-kondo (15)
- # cljdoc (14)
- # clojure (3)
- # clojure-bay-area (1)
- # clojure-europe (40)
- # clojure-nl (3)
- # clojure-serbia (1)
- # clojure-uk (31)
- # clojuredesign-podcast (1)
- # clojurescript (9)
- # community-development (7)
- # data-oriented-programming (1)
- # datomic (44)
- # emacs (13)
- # figwheel-main (14)
- # fulcro (6)
- # jobs (6)
- # malli (15)
- # meander (7)
- # off-topic (74)
- # other-languages (1)
- # pathom (3)
- # portal (3)
- # re-frame (25)
- # reagent (6)
- # reitit (2)
- # reveal (1)
- # rewrite-clj (6)
- # ring (5)
- # shadow-cljs (11)
- # specter (7)
- # xtdb (7)
I tried to use https://stitches.dev in Clojurescript but got the following error:
Closure compilation failed with 1 errors
--- node_modules/@stitches/react/dist/index.cjs:2
ES6 transpilation of 'computed getter/setter in an object literal' is not yet implemented.
Is there a good place to follow/be notified when that gets fixed?@martinklepsch really just set :compiler-options {:output-feature-set :es6}
. the default :es5 really only makes sense if you must support officially dead browsers like IE
otherwise the only place to watch for that stuff is the closure-compiler repo directly I guess
I'm compiling CLJS using fighweel-main, is there any way I can set the --source_map_include_content flag on the Closure compiler?
I spose the clojurescript compiler is where I'd want to set it, seems it has no option to include the original source in a source map
closure-defines control nothing related to source maps. CLJS currently does not support this I believe. there are a couple open issues in Jira regarding this IIRC. shadow-cljs does support this and does it by default.
thanks, I came to the same conclusion