Follow these instructions and in less than 10 minutes you will have Browserify installed and ready to go.
npm install -g browserify
var _ = require('lodash');
npm install --save lodash
browserify main.js -o bundle.js
Browserify automatically found and included all the required dependencies in bundle.js.
- You can manage your client side dependencies with npm
- You can manage your dependencies easily like you would in Node.