We're updating the issue view to help you get more done. 

build api fails to generate inline code for :target :nodejs

Description

when inline code is provided as vector to the composition of `cljs.build.api/build` and `cljs.build.api/inputs` methods under `:target :nodejs` the provided inline code is not output.

1 2 3 4 5 6 7 8 9 10 11 ;; this outputs code (cljs.build.api/build (cljs.build.api/inputs '[(ns hello.core) (+ 1 2)]) {}) ;; this does not output inline code (cljs.build.api/build (cljs.build.api/inputs '[(ns hello.core) (+ 1 2)]) {:target :nodejs}) ;; When you don't use cljs.build.api/inputs everything works correctly (cljs.build.api/build '[(ns hello.core) (+ 1 2)] {}) ;; this outputs code (cljs.build.api/build '[(ns hello.core) (+ 1 2)] {:target :nodejs}) ;; this outputs code

Environment

None

Status

Assignee

Unassigned

Reporter

Bruce Hauman

Labels

None

Approval

None

Patch

None

Affects versions

1.9.76

Priority

Minor