Trying to optimize an requirejs-based project on Windows. Have put the r.js.cmd in the Scripts folder along with the following nodeBuild.js file.
({ baseUrl: \".
Don't run it through node.
r.js.cmd -o nodeBuild.js