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

Consider removing debug on browser build #787

Closed
davidbau opened this issue Nov 22, 2014 · 1 comment
Closed

Consider removing debug on browser build #787

davidbau opened this issue Nov 22, 2014 · 1 comment

Comments

@davidbau
Copy link

socketio.js recently grew by 5K (about 6% of its size) uglified. That's the cost of including the debug package for the browser.

We should consider removing debug (and calls to debug) from browser builds, and also look for other opportunities to reduce size.

@darrachequesne
Copy link
Member

Fixed by c1dd34c (included in socket.io-client@1.7.0, and still valid today: https://github.com/socketio/socket.io-client/blob/3.1.0/support/prod.config.js#L15)

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

No branches or pull requests

3 participants