Skip to content

Commit 4eefd30

Browse files
committed
Document opts.outputs and opts.entries.
1 parent deb990b commit 4eefd30

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

Diff for: readme.markdown

+7-2
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,14 @@ The output format for `fr` and each of the `fr` sub-streams given by each
129129
`'stream'` event is also in the
130130
[module-deps](https://npmjs.org/package/module-deps) format.
131131

132-
`opts.o` should be an array that pairs up with the `files` array to specify
132+
`opts.o` or `opts.outputs` should be an array that pairs up with the `files` array to specify
133133
where each bundle output for each entry file should be written. The elements in
134-
`opts.o` can be string filenames or writable streams.
134+
`opts.o` can be string filenames, writable streams,
135+
or functions that return filenames or streams. Passing functions that return
136+
streams may be useful when calling `b.bundle()` multiple times.
137+
138+
`opts.entries` or `opts.e` is an optional array of entries that may be used
139+
instead of passing entries to browserify.
135140

136141
The files held in common among `> opts.threshold` (default: 1) bundles will be
137142
output on the `fr` stream itself. The entry-specific bundles are diverted into

0 commit comments

Comments
 (0)