-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gruntfile.js
35 lines (30 loc) · 1.07 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
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
less: {
development: {
files: {
'pubStaticFrontendVortexSummit/css/styles-m.css': 'Summit/web/css/styles-m.less',
'pubStaticFrontendVortexSummit/css/styles-t.css': 'Summit/web/css/styles-t.less',
'pubStaticFrontendVortexSummit/css/styles-d.css': 'Summit/web/css/styles-d.less',
'pubStaticFrontendVortexSummit/css/styles.css': 'Summit/web/css/styles.less',
'pubStaticFrontendVortexSummit/css/customer-m.css': 'Summit/web/css/customer-m.less',
'pubStaticFrontendVortexSummit/css/customer-t.css': 'Summit/web/css/customer-t.less',
'pubStaticFrontendVortexSummit/css/customer-d.css': 'Summit/web/css/customer-d.less',
'pubStaticFrontendVortexSummit/css/customer.css': 'Summit/web/css/customer.less'
}
},
},
watch: {
css: {
files: '**/*.less',
tasks: 'less'
}
}
});
grunt.loadNpmTasks('grunt-contrib-less');
grunt.loadNpmTasks('grunt-contrib-watch');
// Default task(s).
grunt.registerTask('default', ['watch']);
};