Skip to content

Commit 8824c2e

Browse files
committed
Merge pull request #451 from darrachequesne/patch-3
Prevent ws from being added to the bundle
2 parents f8b89af + 02ab115 commit 8824c2e

File tree

4 files changed

+2
-4
lines changed

4 files changed

+2
-4
lines changed

.zuul.yml

-2
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,3 @@ tunnel:
44
type: ngrok
55
authtoken: 6Aw8vTgcG5EvXdQywVvbh_3fMxvd4Q7dcL2caAHAFjV
66
proto: tcp
7-
browserify:
8-
- exclude: ws

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Engine.IO is a commonjs module, which means you can include it by using
5151
1. build your app bundle
5252
5353
```bash
54-
$ browserify app.js -i ws > bundle.js
54+
$ browserify app.js > bundle.js
5555
```
5656
5757
1. include on your page

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
"test": "make test"
5454
},
5555
"browser": {
56+
"ws": false,
5657
"xmlhttprequest-ssl": "./lib/xmlhttprequest.js"
5758
},
5859
"repository": {

support/browserify.js

-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ function build(fn){
2828
insertGlobalVars: { global: glob },
2929
standalone: 'eio'
3030
})
31-
.exclude('ws')
3231
.bundle();
3332

3433
bundle.on('error', function (err) {

0 commit comments

Comments
 (0)