File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 1744
1744
1745
1745
(str (when (or (not module) (= :cljs-base (:module-name opts)))
1746
1746
(str (when (bundle? opts)
1747
- " import {npmDeps} from \" ./deps-rt .js\" ;" )
1747
+ " import {npmDeps} from \" ./deps_rt .js\" ;" )
1748
1748
" var CLOSURE_UNCOMPILED_DEFINES = " closure-defines " ;\n "
1749
1749
" var CLOSURE_NO_DEPS = true;\n "
1750
1750
" if(typeof goog == \" undefined\" ) document.write('<script src=\" " asset-path " /goog/base.js\" ></script>');\n "
2188
2188
(when (:debug-inputs opts)
2189
2189
(util/debug-prn " DEBUG: all compiler inputs" )
2190
2190
(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 )))))
2191
2194
(cond
2192
2195
modules
2193
2196
(let [modules' (module-graph/expand-modules modules sources)]
You can’t perform that action at this time.
0 commit comments