Created
July 27, 2015 13:29
-
-
Save anonymous/e18fd95f3cc2ba8505a7 to your computer and use it in GitHub Desktop.
Sharing Configuration with Grunt
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
module.exports = function(grunt) { | |
// required plugin | |
require('jit-grunt')(grunt); | |
grunt.initConfig({ | |
less: { | |
// config here | |
} | |
}, | |
concat: { | |
// config here | |
}, | |
jshint: { | |
// config here | |
}, | |
watch: { | |
// config here | |
} | |
}); | |
}; |
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
module.exports = function(grunt) { | |
require('./config.js')(grunt); | |
grunt.registerTask('default', ['concat', 'less', 'jshint', 'watch']); | |
}; |
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
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