-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gruntfile.js
33 lines (32 loc) · 948 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
sassFiles = {
'assets/css/beyondcare.css': 'assets/scss/beyondcare.scss'
}
module.exports = function(grunt) {
grunt.initConfig({
sass: {
dev: {
options: {
style: 'expanded',
loadPath: 'bower_components/bootstrap-sass-official/assets/stylesheets/',
},
files: sassFiles
},
dist: {
options: {
style: 'compressed',
loadPath: 'bower_components/bootstrap-sass-official/assets/stylesheets/',
},
files: sassFiles
}
},
watch: {
sass: {
files: 'sass/*.scss',
tasks: ['sass:dev']
}
}
});
grunt.loadNpmTasks('grunt-contrib-sass');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.registerTask('buildcss', ['sass:dist']);
};