Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bundle if browserify entries specified #167

Merged
merged 1 commit into from Sep 19, 2016

Conversation

rtsao
Copy link
Contributor

@rtsao rtsao commented Aug 24, 2016

This allows for bundling even when no entries are passed to budo directly.

This is useful when specifying stream entries (via the entries field in the browserify opts), which budo won't accept but browserify will.

I'm not quire sure how the ev.entries in the connect callback should be handled in this case, since it could be a stream (rather than file), but for now, simply using an empty array seemed ok.

This seemed cleaner than having some --always-bundle boolean flag, but it's sort of implicit. I'm happy to make whatever changes are needed. Basically I just want to use budo programmatically with a generated entry file that is not actually written to the file system.

@mattdesl mattdesl merged commit d068f27 into mattdesl:master Sep 19, 2016
@mattdesl
Copy link
Owner

Looks good, thanks!

mattdesl added a commit that referenced this pull request Jan 28, 2017
Bundle if browserify entries specified
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants