File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed
src/main/clojure/cljs/build Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change 17
17
[cljs.util :as util]
18
18
[cljs.analyzer :as ana]
19
19
[cljs.analyzer.api :as ana-api]
20
- [cljs.closure :as closure])
20
+ [cljs.closure :as closure]
21
+ [cljs.js-deps :as deps])
21
22
(:import [java.io File]))
22
23
23
24
; ; =============================================================================
150
151
[opts & ijss]
151
152
(closure/add-dependencies opts ijss))
152
153
154
+ (defn handle-js-modules
155
+ " Given a collection of IJavaScript values representing a build, index all
156
+ node modules, convert all JS modules (ES6 etc), and store the updated
157
+ js-dependency-index (likely changed due to modules) in compiler state."
158
+ [state xs opts]
159
+ (closure/handle-js-modules opts xs state))
160
+
161
+ (defn dependency-order
162
+ " Topologically sort a collection of IJavaScript values."
163
+ [xs]
164
+ (deps/dependency-order xs))
165
+
153
166
(defn add-implicit-options
154
167
" Given a valid map of build options add any standard implicit options. For
155
168
example :optimizations :none implies :cache-analysis true and :source-map
You can’t perform that action at this time.
0 commit comments