diff --git a/CHANGELOG.md b/CHANGELOG.md index 73bd8b8..ddde1f0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,8 @@ +- [#114](https://github.com/babashka/scittle/issues/114): Enable source maps ([@jeroenvandijk](https://github.com/jeroenvandijk)) + ## 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 diff --git a/shadow-cljs.edn b/shadow-cljs.edn index 7b6d8c4..4b0d654 100644 --- a/shadow-cljs.edn +++ b/shadow-cljs.edn @@ -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} + }}}