We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 221d8a4 commit c5e1feaCopy full SHA for c5e1fea
src/main/clojure/cljs/closure.clj
@@ -1608,7 +1608,11 @@
1608
"], ["
1609
;; even under Node.js where runtime require is possible
1610
;; this is necessary - see CLJS-2151
1611
- (ns-list (cond->> (deps/-requires input)
+ (ns-list (cond->>
1612
+ ;; remove external? foreign deps - they are already loaded
1613
+ ;; in the environment, there is nothing to do.
1614
+ ;; :require-global is the typical case here
1615
+ (remove ana/external-dep? (deps/-requires input))
1616
;; under Node.js we emit native `require`s for these
1617
(= :nodejs (:target opts))
1618
(filter (complement ana/node-module-dep?))))
0 commit comments