The RequireJS command line tool is supported for optimizing and minifying assets.
-
Install requirejs
npm install -g requirejs
-
Run the optimizer
Use r.js on the command line to run the optimizer.
r.js -o js/stackstudio-build.js
or
r.js -o js/stackplace-build.js