Total Complexity | 1 |
Complexity/F | 1 |
Lines of Code | 24 |
Function Count | 1 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
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 | }; |