Skip to content

Instantly share code, notes, and snippets.

/Gruntfile.js
Created Jul 27, 2015

Embed
What would you like to do?
Sharing Configuration with Grunt
module.exports = function(grunt) {
// required plugin
require('jit-grunt')(grunt);
grunt.initConfig({
less: {
// config here
}
},
concat: {
// config here
},
jshint: {
// config here
},
watch: {
// config here
}
});
};
module.exports = function(grunt) {
require('./config.js')(grunt);
grunt.registerTask('default', ['concat', 'less', 'jshint', 'watch']);
};
module.exports = function(grunt) {
require('./config.js')(grunt);
grunt.registerTask('default', ['concat', 'less', 'jshint']);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.