grillade.less et grillade.scss
This commit is contained in:
parent
f35237dcbe
commit
b50a9b84b5
5 changed files with 792 additions and 3 deletions
10
gulpfile.js
10
gulpfile.js
|
@ -24,18 +24,26 @@ gulp.task('css', function () {
|
|||
.pipe(gulp.dest('./css/'));
|
||||
});
|
||||
|
||||
gulp.task('grillade', function() {
|
||||
gulp.task('grillade-less', function() {
|
||||
return gulp.src(['./less/_00-config.less', './less/_03-grids.less'])
|
||||
.pipe(concat('grillade.less'))
|
||||
.pipe(gulp.dest('./css/'))
|
||||
.pipe(less())
|
||||
.pipe(autoprefixer())
|
||||
.pipe(minifycss())
|
||||
.pipe(gulp.dest('./css/'));
|
||||
});
|
||||
gulp.task('grillade-sass', function() {
|
||||
return gulp.src(['./sass/_00-config.scss', './sass/_03-grids.scss'])
|
||||
.pipe(concat('grillade.scss'))
|
||||
.pipe(gulp.dest('./css/'));
|
||||
});
|
||||
|
||||
// Watcher
|
||||
gulp.task('watch', function() {
|
||||
gulp.watch(['./less/*.less'], ['css']);
|
||||
});
|
||||
|
||||
gulp.task('grillade', ['grillade-less', 'grillade-sass']);
|
||||
|
||||
gulp.task('default', ['css']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue