File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 17441744
17451745 (str (when (or (not module) (= :cljs-base (:module-name opts)))
17461746 (str (when (bundle? opts)
1747- " import {npmDeps} from \" ./deps-rt .js\" ;" )
1747+ " import {npmDeps} from \" ./deps_rt .js\" ;" )
17481748 " var CLOSURE_UNCOMPILED_DEFINES = " closure-defines " ;\n "
17491749 " var CLOSURE_NO_DEPS = true;\n "
17501750 " if(typeof goog == \" undefined\" ) document.write('<script src=\" " asset-path " /goog/base.js\" ></script>');\n "
21882188 (when (:debug-inputs opts)
21892189 (util/debug-prn " DEBUG: all compiler inputs" )
21902190 (util/debug-prn (pr-str sources)))
2191+ (when (bundle? opts)
2192+ (spit (io/file (util/output-directory opts) " deps_rt.js" )
2193+ (deps-rt-js (keys (get @env/*compiler* :node-module-index )))))
21912194 (cond
21922195 modules
21932196 (let [modules' (module-graph/expand-modules modules sources)]
You can’t perform that action at this time.
0 commit comments