forked from horst3180/arc-theme
- Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathgulpfile.js
More file actions
Latest commit
20 lines (18 loc) · 568 Bytes
/
Copy pathgulpfile.js
File metadata and controls
20 lines (18 loc) · 568 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
vargulp=require("gulp");
varsass=require("gulp-sass");
varrename=require('gulp-rename');
gulp.task('sass',function(){
returngulp.src(['./**/sass/*.scss','!./node_modules/**/*','!./m4/**/*'])
.pipe(sass({
outputStyle: 'nested',
precision: 5,
onError: function(err){
notify().write(err);
}
}))
.pipe(rename(function(path){
path.dirname+="/../";
}))
.pipe(gulp.dest('./'))
});
gulp.task('default',['sass']);