Skip to content

Instantly share code, notes, and snippets.

@terinjokes
Created March 22, 2013 01:01
Show Gist options
  • Save terinjokes/5218160 to your computer and use it in GitHub Desktop.
Save terinjokes/5218160 to your computer and use it in GitHub Desktop.
require.config({
baseUrl: './source/javascript',
paths: {
underscore: '../../tmp/lodash',
backbone: './vendor/backbone',
handlebars: './vendor/handlebars.runtime',
jquery: './vendor/jquery',
templates: '../tmp/templates'
},
removeCombined: true,
dir: './dist',
modules: [{
name: 'twitter',
include: ['../tmp/templates/twitter'],
exclude: ['handlebars'],
create: true
}, {
name: 'common',
include: ['underscore', 'backbone', 'handlebars', 'jquery'],
create: true
}]
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment