A Plovr (http://plovr.com/) implementation mated with a node/express-powered web UI for easy one-click JS builds.
Plovr comes bundled with the Google Closure library and will search your files for goog.provide() and goog.require() declarations to calculate dependencies. It works off of a simple JSON config file, with a variety of options for input and output (note: Plovr uses its own config names and values, similar but not identical to Closure Compiler). Also includes options for externs if you want/need to bundle an external library (e.g., jQuery) with your own JS build. Config files can be updated anytime without restarting app.js.
Notes:
- Config files are stored in /config. If you wish to add an output file, copy an existing config file, save to /config, add the file/path to app.js, restart node and go.
- dev.js inherits from prod.js so you do not need to specify an input fileset there (unless you want a different input set for some reason).
- Output will be saved in /deploy.
- Source files go in /src. ;)
- Requires node.js and express (npm install express).
- All source files must be namespaced with goog.provide(); similarly, dependencies must be declared with goog.require(). For more information, refer to https://developers.google.com/closure/library/docs/closurebuilder.