Имеется gulpfile.js
'use strict';
var gulp = require('gulp');
var sass = require('gulp-sass');
var smartgrid = require('smart-grid');
/* It's principal settings in smart grid project */
var settings = {
outputStyle: 'scss', /* less || scss || sass || styl */
columns: 12, /* number of grid columns */
offset: '30px', /* gutter width px || % */
mobileFirst: false, /* mobileFirst ? 'min-width' : 'max-width' */
container: {
maxWidth: '1200px', /* max-width оn very large screen */
fields: '0' /* side fields */
},
breakPoints: {
lg: {
width: '1100px', /* -> @media (max-width: 1100px) */
},
md: {
width: '960px'
},
sm: {
width: '780px',
},
xs: {
width: '560px'
}
/*
We can create any quantity of break points.
some_name: {
width: 'Npx',
fields: 'N(px|%|rem)',
offset: 'N(px|%|rem)'
}
*/
}
};
smartgrid('./sass', settings);
gulp.task('sass', function () {
gulp.src('./sass/main.scss')
.pipe(sass().on('error', sass.logError))
.pipe(gulp.dest('./css'));
});
gulp.task('sass:watch', function () {
gulp.watch('./sass/**/*.scss', gulp.series('sass'));
});
Возникает проблема Task never defined: smartgrid
C:\Users\qqq\Downloads\proj>gulp smartgrid
Grid placed into ./sass/smart-grid.scss
Grid length is 9736 :)
Its work! Good day!
[12:39:59] Using gulpfile ~\Downloads\proj\gulpfile.js
[12:39:59] Task never defined: smartgrid
[12:39:59] To list available tasks, try running: gulp --tasks
Помогите пожалуйста исправить.