Возникает такая ошибка:
Код:
module.exports = function () {
$.gulp.task('libsJS:dev', () => {
return $.gulp.src(['node_modules/svg4everybody/dist/svg4everybody.min.js',
'node_modules/slick-carousel/slick/slick.min.js',
'node_modules/filterizr/dist/jquery.filterizr.min.js'])
.pipe(concat('libs.min.js'))
.pipe($.gulp.dest(scriptsPATH.ouput));
});
$.gulp.task('libsJS:build', () => {
return $.gulp.src(['node_modules/svg4everybody/dist/svg4everybody.min.js',
'node_modules/slick-carousel/slick/slick.min.js',
'node_modules/filterizr/dist/jquery.filterizr.min.js'])
.pipe(concat('libs.min.js'))
.pipe(uglify())
.pipe($.gulp.dest(scriptsPATH.ouput));
});
.products-header
h5.products-title Наши товары
.products-filtr
span.products-filtr__item.active(data-filter="all") Все
span.products-filtr__item(data-filter="new") Новинки
span.products-filtr__item(data-filter="popular") Популярные
span.products-filtr__item(data-filter="recomend") Рекомендуем
.products-nav
button.products-nav__btn.products-nav__filter--prev
+icon('arrow-left', 'products-nav__icon')
button.products-nav__btn.products-nav__filter--next
+icon('arrow-right', 'products-nav__icon')
.products-body.products-slider__filter.filtr-container
.products-card.filtr-item(data-category="new")...
.products-card.filtr-item(data-category="popular")...
.products-card.filtr-item(data-category="recomend")...
.products-card.filtr-item(data-category="recomend")...
.products-card.filtr-item(data-category="popular")...
.products-card.filtr-item(data-category="new")...
.products-card.filtr-item(data-category="recomend")...
.products-card.filtr-item(data-category="popular")...
var filterizd = $('.filtr-container').filterizr();