Merge pull request #237 from PhilippeVay/compile-poil

🗃️ CSS non minifiée plus lisible
This commit is contained in:
Raphael Goetter 2017-02-07 10:53:57 +01:00 committed by GitHub
commit 062953473e
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
gulp.task('css', function () {
return gulp.src('./sass/knacss.scss')
.pipe(sass())
.pipe(sass({
outputStyle: 'expanded' // CSS non minifiée plus lisible ('}' à la ligne)
}))
.pipe(autoprefixer())
.pipe(rename('knacss-unminified.css'))
.pipe(gulp.dest('./css/'))