плагин slick работает ,а вот RateYo и fancybox нет в чем ошибка ?
function scripts() {
return src([
"node_modules/jquery/dist/jquery.js",
"node_modules/slick-carousel/slick/slick.js",
"node_modules/@fancyapps/ui/dist/fancybox.umd.js",
"node_modules/rateyo/src/jquery.rateyo.js",
"app/js/main.js"
])
.pipe(concat("main.min.js"))
.pipe(uglify())
.pipe(dest("app/js"))
.pipe(browserSync.stream());
}
{
"name": "gulp-start",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "dj",
"license": "ISC",
"devDependencies": {
"del": "^6.0.0",
"gulp": "^4.0.2",
"gulp-autoprefixer": "^8.0.0",
"gulp-concat": "^2.6.1",
"gulp-imagemin": "^7.1.0",
"gulp-sass": "^5.0.0",
"rateyo": "^2.3.2",
"sass": "^1.44.0",
"slick-carousel": "^1.8.1"
},
"dependencies": {
"@fancyapps/ui": "^4.0.11",
"browser-sync": "^2.27.7",
"gulp-uglify": "^3.0.2",
"jquery": "^3.6.0"
}
}
<code lang="javascript">
@import '../../node_modules/slick-carousel/slick/slick.scss';
@import '../../node_modules/@fancyapps/ui/dist/fancybox';
@import '../../node_modules/rateyo/src/jquery.rateyo';
</code>