Closed ghost closed 8 years ago
@pmlopes : what do you think ?
I think that is a good idea. We might need to review the examples though...
Should it be considered as a breaking change ?
i don't think so, i've not tested it but i think that if we add the dependency to the package.json and the already existing projects would also add the dependency npm should be smart and just use one of the dependencies right? In the worst case there will be 2 downloads of the same dependency on the client side which is not a big deal since at runtime only 1 will be used.
Ok, I will apply it.
Hello, may package.json list sockjs-client as a dependency? Then when installed via
npm install vertx3-eventbus-client
it would install sockjs-client under its local node_modules directory, which is helpful when developing for client javascript using browserify or webpack.