Skip to content

Respect ordering of stream entries#643

Closed
ximus wants to merge 1 commit into
browserify:masterfrom
ximus:master
Closed

Respect ordering of stream entries#643
ximus wants to merge 1 commit into
browserify:masterfrom
ximus:master

Conversation

@ximus
Copy link
Copy Markdown
Contributor

@ximus ximus commented Feb 10, 2014

Added streams (require(stream, {entry: true})) are not appended to
the internal _entries array like their resolved path conterparts.
_entries is used to determine entry indexing in the ouput bundle.
This commit makes sure entry streams are executed in order in the
ouput bundle.

Added streams (require(stream, {entry: true})) are not appended to
the internal `_entries` array like their resolved path conterparts.
_entries is used to determine entry indexing in the ouput bundle.
This commit makes sure entry streams are executed in order in the
ouput bundle.
@ximus
Copy link
Copy Markdown
Contributor Author

ximus commented Feb 10, 2014

Hi all,
I'd like to note that this PR, and the one linked, are my first commits to a nodejs related codebase. Please let me know if I'm skipping any rules on contribution etiquette
Cheers

Comment thread index.js
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this be changed to if (opts.entry && id.path) self._entries.push(id.path);?

@ximus
Copy link
Copy Markdown
Contributor Author

ximus commented Feb 10, 2014

I also had to update module-deps so that it upholds the stream.path property of streams down the pipeline.

see here: browserify/module-deps#29

@ximus
Copy link
Copy Markdown
Contributor Author

ximus commented Feb 10, 2014

Travis is red until the module-deps PR is released and its version is bumped in browserify's package.json

@ghost
Copy link
Copy Markdown

ghost commented Feb 10, 2014

merged in 3.28.1

@ghost ghost closed this Feb 10, 2014
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant