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 error with webpack when WebSocket not exists #321

Merged
merged 1 commit into from
Jan 4, 2017

Conversation

peernohell
Copy link
Contributor

When building with webpack and you didn't define module.exports it will default to an empty object {}
So when transport.enabled test !!WebSocketDriver it returns true instead of false.

When building with webpack and you didn't define module.exports it will default to an empty object {}
So when transport.enabled test !!WebSocketDriver it returns true instead of false.
@brycekahle
Copy link
Contributor

This feels like a bug in webpack. Have you found a related issue?

@brycekahle
Copy link
Contributor

I'm going to merge this change because it is straightforward. I do think this is a Webpack bug, but I see no harm here.

@brycekahle brycekahle merged commit 76f1828 into sockjs:master Jan 4, 2017
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.

2 participants