This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-10-16
Channels
- # 100-days-of-code (1)
- # announcements (1)
- # beginners (93)
- # boot (46)
- # cider (40)
- # cljdoc (4)
- # cljs-dev (7)
- # clojure (78)
- # clojure-conj (12)
- # clojure-dev (17)
- # clojure-italy (5)
- # clojure-nl (10)
- # clojure-spec (34)
- # clojure-uk (36)
- # clojurescript (56)
- # code-reviews (6)
- # core-async (31)
- # cursive (12)
- # datascript (9)
- # datomic (19)
- # devops (2)
- # editors (3)
- # emacs (6)
- # events (2)
- # figwheel (1)
- # figwheel-main (11)
- # fulcro (59)
- # graphql (10)
- # hyperfiddle (3)
- # keechma (5)
- # leiningen (26)
- # luminus (1)
- # nrepl (5)
- # re-frame (5)
- # reitit (10)
- # shadow-cljs (64)
- # spacemacs (29)
- # tools-deps (6)
- # uncomplicate (8)
- # vim (2)
- # yada (4)
A question regarding source-maps. If I try source-map resolve index.js.map lineNumber rowNumber
I get the following output:
Maps to pilloxa/views/dashboard.cljs:550:47
Could not resolve mapping: Cannot read property 'split' of null
So it correctly finds the position in the clojurescript code but does not output the actual code. Is this a known bug?
I’m using [email protected]
My compiler config:
{:output-to "app/target/dist/index.js"
:main "env.main"
:static-fns true
:optimize-constants true
:parallel-build true
:optimizations :advanced
:output-dir "app/target/dist/"
:source-map "app/target/dist/index.js.map"
:target :nodejs
:closure-defines {"goog.DEBUG" false}}