CSS non minifiée plus lisible

This commit is contained in:
PhilippeVay 2017-02-06 23:16:28 +01:00
parent ad445246dd
commit d64a20faab
2 changed files with 1002 additions and 554 deletions

File diff suppressed because it is too large Load diff

View file

@ -13,7 +13,9 @@ var autoprefixer = require('gulp-autoprefixer');
// tâche CSS = compile vers knacss.css et knacss-unminified.css // tâche CSS = compile vers knacss.css et knacss-unminified.css
gulp.task('css', function () { gulp.task('css', function () {
return gulp.src('./sass/knacss.scss') return gulp.src('./sass/knacss.scss')
.pipe(sass()) .pipe(sass({
outputStyle: 'expanded' // CSS non minifiée plus lisible ('}' à la ligne)
}))
.pipe(autoprefixer()) .pipe(autoprefixer())
.pipe(rename('knacss-unminified.css')) .pipe(rename('knacss-unminified.css'))
.pipe(gulp.dest('./css/')) .pipe(gulp.dest('./css/'))