Skip to content

Instantly share code, notes, and snippets.

@thomasboyt
Last active December 26, 2015 04:29
Show Gist options
  • Save thomasboyt/7093974 to your computer and use it in GitHub Desktop.
Save thomasboyt/7093974 to your computer and use it in GitHub Desktop.
concat: {
dev: {
files: {
'core/built/scripts/vendor.js': [
'core/shared/vendor/jquery/jquery.js',
'core/shared/vendor/jquery/jquery-ui-1.10.3.custom.min.js',
'core/client/assets/lib/jquery-utils.js',
'core/client/assets/lib/uploader.js',
'core/shared/vendor/underscore.js',
'core/shared/vendor/backbone/backbone.js',
'core/shared/vendor/handlebars/handlebars-runtime.js',
'core/shared/vendor/moment.js',
// <snipped 20 more lines of vendor includes>
],
'core/built/scripts/templates.js': [
'core/client/tpl/hbs-tpl.js'
],
'core/built/scripts/models.js': [
'core/client/models/**/*.js'
],
'core/built/scripts/views.js': [
'core/client/views/**/*.js',
'core/client/router.js'
]
}
},
prod: {
files: {
// <an almost identical configuration, except everything is
// packed in one bundle instead of split>
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment