Skip to content

Commit

Permalink
switch to setters
Browse files Browse the repository at this point in the history
  • Loading branch information
swannodette committed Feb 19, 2024
1 parent 40735e5 commit 5434c6f
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions src/main/clojure/cljs/closure.clj
Original file line number Diff line number Diff line change
Expand Up @@ -352,15 +352,13 @@
;; name is not actually used by Closure in :modules case,
;; but we need to provide _something_ for Closure to not
;; complain
(set! (.sourceMapOutputPath compiler-options)
(str (io/file (util/output-directory opts)
"cljs_modules.map")))
(set! (.sourceMapOutputPath compiler-options)
(:source-map opts)))
(set! (.sourceMapDetailLevel compiler-options)
SourceMap$DetailLevel/ALL)
(set! (.sourceMapFormat compiler-options)
SourceMap$Format/V3))
(.setSourceMapOutputPath compiler-options
(str (io/file (util/output-directory opts)
"cljs_modules.map")))
(.setSourceMapOutputPath compiler-options
(:source-map opts)))
(.setSourceMapDetailLevel compiler-options SourceMap$DetailLevel/ALL)
(.setSourceMapFormat compiler-options SourceMap$Format/V3))
(do
(.setOptionsForCompilationLevel level compiler-options)
(set-options opts compiler-options)
Expand Down

0 comments on commit 5434c6f

Please sign in to comment.