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

Fix for bad cwd default and fix for entries option not getting passed #56

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

limulus
Copy link

@limulus limulus commented Aug 23, 2014

Beefy is pretty amazing, and I've been using the CLI for a little while now, but today I decided to check out using the API interface, and sort of fell down a rabbit hole discovering bugs. This pull request fixes two of them and leaves the third for someone else. :)

The first bug is that the default for the cwd option was getting set to ., which was causing the fixupEntries function to replace the . in say index.js with a /.

The second bug was that the entries option was not actually getting passed to the setupBundler function. That would result in the entry points getting served as static files instead of getting bundled.

The third bug that this PR does not fix is that the docs indicate that you can pass an object for the entries option. I attempted to add support for this, however doing so causes the "concurrent conns do not trigger a warning" integration test to hang. I spent a long while trying to figure out why to no avail.

Thanks for writing beefy! Please let me know if there are any changes you'd like me to make. (Or feel free to reject…this is my first GitHub PR so I've likely messed something up!)

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.

1 participant