I'm looking into deploying a mojito app on a rack mounted networking appliance. For a number of reasons, we need to limit the amount of space we use on the machine.
Out of the box, it looks like mojito takes up around 64M. If I re-install the node dependencies using npm install --production to leave out the devDependencies, it's around 52M.
I recognize that this may be more of a node question than a mojito question, but any suggestions would be greatly appreciated.
As an additional note, I noticed that much of the space comes from YUI. Is there a way to configure mojito to run off of the minified yui files (on the server side) so the others can be removed?
Which version of YUI are you using? I believe 3.16 will include my pull request which will reduce the YUI NPM package from ~35mb to ~17mb.
in Yahoo! Mojito