Skip to content

Instantly share code, notes, and snippets.

@jide jide/Gruntfile.js
Last active Jan 3, 2016

Embed
What would you like to do?
'use strict';//jshint
module.exports = function(grunt) {
grunt.initConfig({
less: {
compileCore: {
files: {
'css/style.css': 'less/style.less'
}
}
},
watch: {
less: {
files: [
'less/*.less',
'bootstrap/less/*.less',
],
tasks: ['less']
},
},
clean: {
dist: [
'styles/style.min.css'
]
}
});
grunt.loadNpmTasks('grunt-contrib-clean');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-contrib-less');
grunt.registerTask('default', [
'clean',
'less'
]);
grunt.registerTask('dev', [
'watch'
]);
};
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.