Skip to content

Commit

Permalink
Merge pull request #451 from darrachequesne/patch-3
Browse files Browse the repository at this point in the history
Prevent ws from being added to the bundle
  • Loading branch information
rauchg committed Jan 9, 2016
2 parents f8b89af + 02ab115 commit 8824c2e
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .zuul.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,3 @@ tunnel:
type: ngrok
authtoken: 6Aw8vTgcG5EvXdQywVvbh_3fMxvd4Q7dcL2caAHAFjV
proto: tcp
browserify:
- exclude: ws
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Engine.IO is a commonjs module, which means you can include it by using
1. build your app bundle
```bash
$ browserify app.js -i ws > bundle.js
$ browserify app.js > bundle.js
```
1. include on your page
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"test": "make test"
},
"browser": {
"ws": false,
"xmlhttprequest-ssl": "./lib/xmlhttprequest.js"
},
"repository": {
Expand Down
1 change: 0 additions & 1 deletion support/browserify.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ function build(fn){
insertGlobalVars: { global: glob },
standalone: 'eio'
})
.exclude('ws')
.bundle();

bundle.on('error', function (err) {
Expand Down

0 comments on commit 8824c2e

Please sign in to comment.