Completed
Pull Request — development (#482)
by Mirco
06:37
created

module.exports   B

Complexity

Conditions 1
Paths 1

Size

Total Lines 24

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 24
rs 8.9713
cc 1
nc 1
nop 1
1
module.exports = function(grunt) {
2
    grunt.initConfig({
3
        sass: {
4
            dist: {
5
                files: {
6
                    'web/css/style.css': 'theme/scss/all.scss'
7
                }
8
            },
9
            options: {
10
                sourceMap: true
11
            }
12
        },
13
        watch: {
14
            source: {
15
                files: ['theme/scss/all.scss', 'theme/scss/components/*.scss'],
16
                tasks: ['sass']
17
            }
18
        }
19
    });
20
21
    grunt.loadNpmTasks('grunt-contrib-watch');
22
    grunt.loadNpmTasks('grunt-sass');
23
    grunt.registerTask('default', ['sass']);
24
};