This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-01-11
Channels
- # announcements (1)
- # aws (1)
- # babashka (1)
- # beginners (41)
- # bristol-clojurians (2)
- # clara (2)
- # cljs-dev (7)
- # clojure (18)
- # clojure-europe (1)
- # clojure-finland (2)
- # clojure-uk (9)
- # clojurescript (5)
- # community-development (2)
- # data-science (14)
- # events (1)
- # fulcro (12)
- # joker (12)
- # malli (2)
- # reitit (1)
- # xtdb (1)
hi, just playing with CLJS-1902 in some real-world scenarion, it works fine but I seem to be unable to make cljs.core
namespace compile with inlined sourcemaps, all other namespaces work as expected even under cljs.*
except cljs.core
isn’t there a special codepath compiling cljs.core
which would ignore sourcemaps settings from build options?
ok, I think I found the problem:
https://github.com/clojure/clojurescript/blob/dcc8e61c79bfc701fe9e1414fe5db93edf6f1853/src/main/clojure/cljs/compiler.cljc#L1614-L1615
cached-core
function decides that core is cached and emits it from cache, regardless of :inline-source-maps
flag
I guess :inline-source-maps
should be added into build-affecting-options
and that cached-core
should consult that as well