@@ -1407,23 +1407,21 @@ should contain the source for the given namespace name."
1407
1407
(let [compiled (util/measure compiler-stats
1408
1408
" Compile basic sources"
1409
1409
(doall (-compile source all-opts)))
1410
- ; ; the constants_table.js file is not used directly here, is picked up by
1411
- ; ; add-dependencies below
1412
- _ (when emit-constants
1413
- (comp/emit-constants-table-to-file
1414
- (::ana/constant-table @env/*compiler*)
1415
- (str (util/output-directory all-opts) " /constants_table.js" )))
1416
1410
js-sources (util/measure compiler-stats
1417
1411
" Add dependencies"
1418
1412
(doall
1419
1413
(concat
1420
- (apply add-dependencies all-opts
1421
- (concat
1422
- (if (coll? compiled) compiled [compiled])
1423
- (when (= :nodejs (:target all-opts))
1424
- [(-compile (io/resource " cljs/nodejs.cljs" ) all-opts)])))
1425
- (when (= :nodejs (:target all-opts))
1426
- [(-compile (io/resource " cljs/nodejscli.cljs" ) all-opts)]))))
1414
+ (apply add-dependencies all-opts
1415
+ (concat
1416
+ (if (coll? compiled) compiled [compiled])
1417
+ (when (= :nodejs (:target all-opts))
1418
+ [(-compile (io/resource " cljs/nodejs.cljs" ) all-opts)])))
1419
+ (when (= :nodejs (:target all-opts))
1420
+ [(-compile (io/resource " cljs/nodejscli.cljs" ) all-opts)]))))
1421
+ _ (when emit-constants
1422
+ (comp/emit-constants-table-to-file
1423
+ (::ana/constant-table @env/*compiler*)
1424
+ (str (util/output-directory all-opts) " /constants_table.js" )))
1427
1425
optim (:optimizations all-opts)
1428
1426
ret (if (and optim (not= optim :none ))
1429
1427
(do
0 commit comments