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 870d873 commit a15846bCopy full SHA for a15846b
src/main/clojure/cljs/closure.clj
@@ -2020,10 +2020,11 @@
2020
(update opts :modules
2021
#(ensure-cljs-base-module % opts)))
2022
2023
-(defn shim-process? [{:keys [target process-shim]}]
2024
- (if (= target :nodejs)
2025
- (true? (:process-shim opts))
2026
- (not (false? (:process-shim opts)))))
+(defn shim-process?
+ [{:keys [target process-shim] :as opts}]
+ (if (= :nodejs target)
+ (true? process-shim)
2027
+ (not (false? process-shim))))
2028
2029
(defn add-implicit-options
2030
[{:keys [optimizations output-dir]
0 commit comments