This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-09-02
Channels
- # adventofcode (6)
- # announcements (6)
- # babashka (21)
- # babashka-sci-dev (18)
- # biff (6)
- # clara (4)
- # clj-commons (2)
- # clj-kondo (7)
- # cljdoc (4)
- # clojure (9)
- # clojure-berlin (8)
- # clojure-europe (23)
- # clojure-gamedev (3)
- # clojure-indonesia (1)
- # clojure-nl (1)
- # clojure-norway (10)
- # clojure-poland (1)
- # clojurescript (27)
- # community-development (1)
- # conjure (32)
- # etaoin (6)
- # events (20)
- # fulcro (5)
- # graalvm (1)
- # helix (19)
- # hyperfiddle (14)
- # introduce-yourself (2)
- # music (1)
- # nbb (24)
- # off-topic (37)
- # pathom (2)
- # polylith (14)
- # reagent (11)
- # releases (1)
- # remote-jobs (1)
- # reveal (22)
- # shadow-cljs (16)
- # sql (3)
- # squint (11)
- # test-check (2)
- # xtdb (36)
Guten abend, Thomas! Having some source map issues, keeps taking me to the wrong places. Trying to map a release build to sources
:app
{:target :browser
:output-dir "resources/public/js/compiled"
:asset-path "/js/compiled"
:compiler-options {:optimizations :advanced}
:dev {:compiler-options {:optimizations :advanced}}
:modules {:app {:init-fn flow-ui.dev/init}}
:release
{:compiler-options
{:source-map true
:source-map-detail-level :all}}
:build-options
{:ns-aliases
{day8.re-frame.tracing day8.re-frame.tracing-stubs}}}}}}
Tried a couple of optimization options. Takes me to places that don’t exist
Updated shadow-cljs, forgot to remove .shadow-cljs dir and relaunch server, currently doing this
Relaunched, re-released, same error ^^ just with different paths On 2.20.1 cc @U05224H0W
can I force :optimizations :advanced in dev? in dev I don’t have the error in the first place
whop, my bad
managed to see this in dev, yes
it was a different Error in dev
ok, then about the root problem that I want to find with source maps. It smells like another missing ^js or aget usage from my side. Can I somehow diable optimization for my JS files? Is that the place where I need externs? I also use d3, but the way I use it feels shaky
But dev seems to map to source well, yes
Maybe it’s that time when I need to go through https://shadow-cljs.github.io/docs/UsersGuide.html#externs section