Skip to content

Instantly share code, notes, and snippets.

@earnubs
Created September 20, 2012 13:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save earnubs/3755919 to your computer and use it in GitHub Desktop.
Save earnubs/3755919 to your computer and use it in GitHub Desktop.
YUI config
YUI({
comboBase: '/yui3?',
combine: true,
root: 'build/',
groups: {
contrib: {
comboBase: '/yui3-contrib?',
combine: true,
// explicitly list the modules and deps, this improves combohandler bundling of
// script requests
patterns: {
'my-': {},
'mycss-': { type: 'css' }
}
}
}
}).use('widget', 'my-module-bar', function (Y) {
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment