mirror of
https://github.com/socketio/socket.io.git
synced 2026-04-30 03:00:39 -04:00
This allows browser loaders like StealJS to load this package without showing any errors or warnings in the console (since you the only way to check if a file exists from the browser it to request it, node-style folder assumptions can't be made without potential 404s.) The package works fine with the StealJS build tools, since they're node based, but this lets allows it to work with the browser version.
3 lines
42 B
JavaScript
3 lines
42 B
JavaScript
|
|
module.exports = require('./lib/index');
|