File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 21982198 (when (:debug-inputs opts)
21992199 (util/debug-prn " DEBUG: all compiler inputs" )
22002200 (util/debug-prn (pr-str sources)))
2201- (when (bundle? opts)
2202- (spit (io/file (util/output-directory opts) " npm_deps.js" )
2203- (npm-deps-js (:node-module-index @env/*compiler*))))
22042201 (cond
22052202 modules
22062203 (let [modules' (module-graph/expand-modules modules sources)]
31753172 (str fdeps-str)
31763173 (add-header opts)
31773174 (output-one-file opts)))))
3178- (apply output-unoptimized opts js-sources))]
3175+ (do
3176+ (when (bundle? opts)
3177+ (spit (io/file (util/output-directory opts) " npm_deps.js" )
3178+ (npm-deps-js (:node-module-index @env/*compiler*))))
3179+ (apply output-unoptimized opts js-sources)))]
31793180 (output-bootstrap opts)
31803181 (when (bundle? opts)
31813182 (when-let [cmd (and (= :none optim)
You can’t perform that action at this time.
0 commit comments