correction typo dans le chemin de grillade

This commit is contained in:
Raphael 2019-08-12 16:58:11 +02:00
parent debcf103f8
commit 7249492817

View file

@ -26,23 +26,23 @@ var browsersList = [
var plugins = [ var plugins = [
unprefix(), unprefix(),
autoprefixer({ autoprefixer({
grid: true, grid: true,
browsers: browsersList browsers: browsersList
}), }),
flexbugs(), flexbugs(),
gaps() gaps()
]; ];
var pluginsProd = [ var pluginsProd = [
unprefix(), unprefix(),
autoprefixer({ autoprefixer({
grid: true, grid: true,
browsers: browsersList browsers: browsersList
}), }),
flexbugs(), flexbugs(),
gaps(), gaps(),
cssnano() cssnano()
]; ];
// tâche cssDev = compile vers knacss-unminified.css // tâche cssDev = compile vers knacss-unminified.css
@ -65,14 +65,14 @@ gulp.task('cssProd', () => {
}); });
gulp.task('grillade', () => { gulp.task('grillade', () => {
return gulp.src('./sass/_library/grillade-grid.scss') return gulp.src('./sass/base/grillade-grid.scss')
.pipe(sass()) .pipe(sass())
.pipe(postcss(pluginsProd)) .pipe(postcss(pluginsProd))
.pipe(gulp.dest('./css/')); .pipe(gulp.dest('./css/'));
}); });
gulp.task('grillade-flex', () => { gulp.task('grillade-flex', () => {
return gulp.src('./sass/_library/grillade-flex.scss') return gulp.src('./sass/base/grillade-flex.scss')
.pipe(sass()) .pipe(sass())
.pipe(postcss(pluginsProd)) .pipe(postcss(pluginsProd))
.pipe(gulp.dest('./css/')); .pipe(gulp.dest('./css/'));