Skip to content
New issue

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

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

Already on GitHub? # to your account

support WebPack, changed Server.prototype.init so defaults have static require statements #523

Merged
merged 2 commits into from
Sep 2, 2017

Conversation

markbjerke
Copy link
Contributor

The kind of change this PR does introduce

  • a bug fix
  • a new feature
  • an update to the documentation
  • a code change that improves performance
  • other

Current behaviour

WebPack does not support variables in require statements. In this case it seems as though the two defaults ws, uws, are probably sufficient for most use cases. These can be expressed as static require statements.

New behaviour

Supports default ws libs with static requires statements.

Other information (e.g. related issues)

markbjerke and others added 2 commits July 29, 2017 08:50
…s don't preclude bundling with WebPack for node target
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants