File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1263
1263
(defn load-libs
1264
1264
[libs seen reloads deps ns-name]
1265
1265
(let [{:keys [options js-dependency-index]} @env/*compiler*
1266
- {:keys [target optimizations]} options
1266
+ {:keys [target nodejs-rt optimizations]} options
1267
1267
loaded-libs (munge 'cljs.core.*loaded-libs*)
1268
1268
loaded-libs-temp (munge (gensym 'cljs.core.*loaded-libs*))
1269
1269
[node-libs libs-to-load] (let [libs (remove (set (vals seen)) (filter (set (vals libs)) deps))]
1284
1284
; ; have handled it - David
1285
1285
(when (and (= :none optimizations)
1286
1286
(not (contains? options :modules )))
1287
- (if ( = : nodejs target)
1287
+ (if nodejs-rt
1288
1288
; ; under node.js we load foreign libs globally
1289
1289
(let [ijs (get js-dependency-index (name lib))]
1290
1290
(emitln " cljs.core.load_file("
You can’t perform that action at this time.
0 commit comments