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.
cljs.closure/add-implicit-options
1 parent 18bb41f commit badf3cdCopy full SHA for badf3cd
src/clj/cljs/closure.clj
@@ -1353,7 +1353,12 @@ should contain the source for the given namespace name."
1353
(= optimizations :none)
1354
(assoc
1355
:cache-analysis (:cache-analysis opts true)
1356
- :source-map (:source-map opts true)))))
+ :source-map (:source-map opts true))
1357
+
1358
+ (= optimizations :advanced)
1359
+ (cond->
1360
+ (not (false? (:static-fns opts))) (assoc :static-fns true)
1361
+ (not (false? (:optimize-constants opts))) (assoc :optimize-constants true)))))
1362
1363
(defn build
1364
"Given a source which can be compiled, produce runnable JavaScript."
0 commit comments