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

@ -9,6 +9,8 @@
<!-- - Create Github release with updated links from `doc/links.md` --> <!-- - Create Github release with updated links from `doc/links.md` -->
<!-- - `bb gh-pages` --> <!-- - `bb gh-pages` -->
- [#114](https://github.com/babashka/scittle/issues/114): Enable source maps ([@jeroenvandijk](https://github.com/jeroenvandijk))
## v0.7.28 (2025-09-13) ## v0.7.28 (2025-09-13)
- [#137](https://github.com/babashka/scittle/issues/137): fix JS interop with reserved JS keyword (incorrectly munged) by bumping SCI - [#137](https://github.com/babashka/scittle/issues/137): fix JS interop with reserved JS keyword (incorrectly munged) by bumping SCI

View file

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