Skip to content

Autoraidapi/build

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Assertion testing with Qunit


Bundling for production :

Project has the following setup:

  • www/ - the web assets for the project
    • index.html - the entry point into the app.
    • assets.js - the top-level config script used by index.html
    • assets/ - the directory to store project-specific scripts.
    • vendor/ - the directory to hold modular scripts for the framework.
  • tools/ - the build tools to optimize the project.

To optimize, run:

node bin/r.js -o bin/build.js

That build command creates an optimized version of the project in a www-built directory. The assets.js file will be optimized to include all of its modules.

For more information on the optimizer: http://requirejs.org/docs/optimization.html

For more information on using requirejs: http://requirejs.org/docs/api.html