Created
December 1, 2012 19:15
-
-
Save brianium/4184246 to your computer and use it in GitHub Desktop.
grunt file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*global module:false*/ | |
module.exports = function(grunt) { | |
// Project configuration. | |
grunt.initConfig({ | |
concat: { | |
dist: { | |
src: [ | |
'vendor/bootstrap.js', | |
'vendor/underscore.js', | |
'vendor/backbone.js' | |
], | |
dest: 'src/prod/consumed.js' | |
} | |
}, | |
min: { | |
dist: { | |
src: ['src/prod/consumed.js'], | |
dest: 'src/prod/consumed.min.js' | |
} | |
} | |
}); | |
// Default task. | |
grunt.registerTask('default', 'concat min'); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment