-
Notifications
You must be signed in to change notification settings - Fork 4
/
Gruntfile.js
executable file
·37 lines (34 loc) · 1.27 KB
/
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
module.exports = function (grunt) {
'use strict';
grunt.loadNpmTasks('grunt-php');
grunt.loadNpmTasks('grunt-contrib-less');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.initConfig({
less: {
development: {
options: {
cleancss: true,
report: 'min'
},
files: {
"templates/default/themes/daux-blue/css/daux-blue.css": "less/daux-blue.less",
"templates/default/themes/daux-green/css/daux-green.css": "less/daux-green.less",
"templates/default/themes/daux-navy/css/daux-navy.css": "less/daux-navy.less",
"templates/default/themes/daux-red/css/daux-red.css": "less/daux-red.less",
"templates/weaintplastic/themes/daux-weaintplastic/css/daux-weaintplastic.css": "less/daux-weaintplastic.less",
}
}
},
watch: {
scripts: {
files: ['less/**/*.less'],
tasks: ['less'],
options: {
nospawn: true
},
},
},
});
//grunt.registerTask('default', ['less', 'watch']);
grunt.registerTask('default', ['less']);
};