forked from codyhouse/animated-page-transition
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGruntfile.js
35 lines (29 loc) · 979 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
34
35
module.exports = function(grunt) {
"use strict";
require("matchdep").filterDev("grunt-*").forEach(grunt.loadNpmTasks);
//Initializing the configuration object
grunt.initConfig({
watch: {
files: ["scss/*.scss", "scss/paritals/*.scss"],
tasks: ['scss']
},
// "sass"-task configuration
sass: {
development: {
options: {
// includePaths: require('node-bourbon').with('other/path', 'another/path')
// - or -
loadPath: require('node-bourbon').includePaths
},
files: {
//compiling frontend.less into frontend.css
"./css/style.css":"./scss/style.scss",
}
}
},
});
// The default task (running "grunt" in console) is "watch"
grunt.registerTask('default', ['watch']);
// Plugin loading
grunt.registerTask('default', []);
};