Navigate to the root of your project and run the below command. node r.js -o build.js This will create a file called mainCompressed.js that will include the contents of angular.js, angular-animate.js, ...
This project shows how jQuery can be used with RequireJS. It includes a sample project that you can use as a template to get started. See the Use with jQuery page on the RequireJS site for more ...