We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 06c98fc commit 2bb2d0bCopy full SHA for 2bb2d0b
1 file changed
src/clj/cljs/closure.clj
@@ -905,7 +905,8 @@ should contain the source for the given namespace name."
905
sources name
906
(assoc opts
907
:preamble-line-count
908
- (- (count (.split #"\r?\n" (make-preamble opts) -1)) 1)))))
+ (+ (- (count (.split #"\r?\n" (make-preamble opts) -1)) 1)
909
+ (if (:output-wrapper opts) 1 0))))))
910
source)
911
(report-failure result))))
912
@@ -1072,7 +1073,8 @@ should contain the source for the given namespace name."
1072
1073
{:source-map sm-name
1074
1075
(if (= name :cljs-base)
- (- (count (.split #"\r?\n" (make-preamble opts) -1)) 1)
1076
1077
+ (if (:output-wrapper opts) 1 0))
1078
0)
1079
:foreign-deps-line-count
1080
(if fdeps-str
0 commit comments