First attempt at dynamically generating requirejs settings
Finally got build script working the way I wanted - see temp test.js file