Skip to content

Commit e58cabf

Browse files
committed
CLJS-3227: :bundle target breaks ^:export
1 parent f83b1f7 commit e58cabf

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/main/cljs/cljs/core.cljs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11738,5 +11738,9 @@ reduces them without incurring seq initialization"
1173811738
(*eval* form))
1173911739

1174011740
(when ^boolean js/COMPILED
11741-
(when (identical? "nodejs" *target*)
11741+
(cond
11742+
(identical? "bundle" *target*)
11743+
(set! goog/global js/window)
11744+
11745+
(identical? "nodejs" *target*)
1174211746
(set! goog/global js/global)))

0 commit comments

Comments
 (0)