Skip to content

Commit 3393544

Browse files
committed
dissoc :target if we're actually dealing with bundle? true
1 parent 609bfef commit 3393544

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/clojure/cljs/closure.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1703,7 +1703,7 @@
17031703
(let [asset-path (or (:asset-path opts)
17041704
(util/output-directory opts))
17051705
closure-defines (json/write-str (:closure-defines opts))]
1706-
(case (:target opts)
1706+
(case (:target (cond-> opts (bundle? opts) (dissoc :target)))
17071707
:nodejs
17081708
(add-header opts
17091709
(str (when (or (not module) (= :cljs-base (:module-name opts)))

0 commit comments

Comments
 (0)