Closed pmaoui closed 8 years ago
I have also added the possibility to add a custom HTTP server for the websocket (for people using Express).
Thank you. Indeed it needs the way to build all sub projects at once.
Here is my suggestions.
webpack
that client
already depends on.runtests.sh
does the similar thing to what you wrote on build
script. Needs refactor.prepublish
does build them all so that a user doesn't need to hit a custom script, build
. (prepublish
is run on local npm install
)Better idea? If no, still OK, I'll think about it after merging.
Besides that, adding server
option to the document would be appreciated.
I fixed the unnecessary dependency to webpack in the main package.json. I agree with the prepublish hook, it's a good idea. Seems okay this way ? And of course I've also updated the doc.
Sorry I forgot to update the todo example README. Should be okay.
It is great. Thanks again. I think I'll create another example using express based on your option.
Great idea ! Thank you for your reactivity 👍
The todo example needs some files built with webpack. I've slightly change the main package.json to permit a global
npm run build
.