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 2198
2198
(when (:debug-inputs opts)
2199
2199
(util/debug-prn " DEBUG: all compiler inputs" )
2200
2200
(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*))))
2204
2201
(cond
2205
2202
modules
2206
2203
(let [modules' (module-graph/expand-modules modules sources)]
3175
3172
(str fdeps-str)
3176
3173
(add-header opts)
3177
3174
(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)))]
3179
3180
(output-bootstrap opts)
3180
3181
(when (bundle? opts)
3181
3182
(when-let [cmd (and (= :none optim)
You can’t perform that action at this time.
0 commit comments