steal.build
compresses and concatenates CSS and JavaScript files into a single or several files. It uses the Google Closure compressor by default.
Since it opens the applications in Envjs, it can be run against applications that don't use StealJS.
To make production-ready files of our
Todo
application, we can run the following command:
$ ./js steal/buildjs todo/todo.html -to todo_prod
We can run the script against a URL:
$ ./js steal/buildjs http://YOUR_SERVER/todo/todo.html -to todo_prod
18.117.187.113