Enable source maps (#138)

* Enable source maps

* Update changelog
This commit is contained in:
Jeroen van Dijk 2025-10-08 15:18:10 +02:00 committed by GitHub
parent 4ec8026b51
commit 5b3a3acb54
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 11 additions and 5 deletions

View file

@ -6,10 +6,13 @@
:builds
{:main
{;; for dev build
#_#_:compiler-options {:optimizations :simple
:pretty-print true
:pseudo-names true}
{;:compiler-options {:source-map true}
;; for dev build
#_#_
:compiler-options {:optimizations :simple
:pretty-print true
:pseudo-names true
:source-map true}
:target :browser
:js-options
{:resolve {"react" {:target :global
@ -37,4 +40,5 @@
:depends-on #{:scittle}}}
:build-hooks [(shadow.cljs.build-report/hook)]
:output-dir "resources/public/js" ;; + "/dev" for dev build
:devtools {:repl-pprint true}}}}
:devtools {:repl-pprint true}
}}}