tbranyen/backbone-boilerplate — Issue #62: Requiring libs served by an npm module
Author: superlou
Created: 2012-02-19 20:06:46+00:00
State: open

I was wondering if there is an example available on how to approach files that are served by the node server as part of an npm module (e.g. socket.io)? If it is single javascript file, then copying it into the client-side app's js/libs folder is not a big deal, but for something larger like socket.io-client, it seems messy to duplicate the files.

Is there a better way?