forked from rogeriopradoj/www
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Gruntfile.js
38 lines (33 loc) · 956 Bytes
/
Gruntfile.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
module.exports = function(grunt) {
grunt.initConfig({
less: {
development:{
files: {
"source/stylesheets/hashicorp.css": "source/stylesheets/less/hashicorp.less"
},
options: {
sourceMap: true,
sourceMapFilename: "source/stylesheets/hashicorp.css.map",
sourceMapURL: "hashicorp.css.map",
sourceMapBasepath: "source/stylesheets"
}
}
},
watch: {
less: {
files: 'source/stylesheets/less/*.less',
tasks: ['less']
}
}
});
// Load plugins here
grunt.loadNpmTasks('grunt-contrib-less');
grunt.loadNpmTasks('grunt-contrib-clean');
grunt.loadNpmTasks('grunt-contrib-concat');
grunt.loadNpmTasks('grunt-contrib-connect');
grunt.loadNpmTasks('grunt-contrib-copy');
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-recess');
grunt.registerTask('default', ['watch']);
};