Skip to content

Instantly share code, notes, and snippets.

@marceloverdijk
Created January 24, 2012 20:43
Show Gist options
  • Save marceloverdijk/1672453 to your computer and use it in GitHub Desktop.
Save marceloverdijk/1672453 to your computer and use it in GitHub Desktop.
({
baseUrl: 'app',
dir: 'build',
mainConfigFile: 'main.js', // ==> is not picked up
modules: [{
name: "../main"
}],
paths: { // ==> have to define this again as mainConfigFile is not picked up
cs: '../lib/requirejs/cs-0.3.2',
backbone: '../lib/backbone/backbone-0.5.3.min',
jquery: '../lib/jquery/jquery-1.6.4.min',
'jquery.mobile': '../lib/jquery.mobile/jquery.mobile-1.0.min',
text: '../lib/requirejs/text-1.0.2.min',
underscore: '../lib/underscore/underscore-1.3.1.min',
use: '../lib/requirejs/use-0.1.0'
},
pragmasOnSave: { // ==> don't understand how this should work, but coffeescript javascript is inside the generated main.js
excludeCoffeeScript: true
}
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment