Use r.js optimised build in production environment.