I collect the project with a gulp. The problem with the task for assembling scss-files - the plugin simply changes the resolution of scss to css , the files are not compiled. The paths are spelled correctly, there are no errors in the build process. What could be the reason?
/* Сама таска */ gulp.task('sass', function () { return gulp.src('./src/sass/**/*.scss') .pipe(plumber()) .pipe(sourcemaps.init()) .pipe(sass.sync().on('error', sass.logError)) .pipe(prefixer()) .pipe(sourcemaps.write('./maps')) .pipe(gulp.dest('dist/style')) .pipe(reload({ stream: true })); }); /* вотчер */ gulp.task('watch', function() { gulp.watch("src/sass/**/*.scss", ['sass']); }); Here's what happens: http://ipic.su/img/img7/fs/kiss_8kb.1532001775.png
PS showed only the part of the assembly that relates to the assembly of styles.
style.scssthat youstyle.scssby mymain.scss- allmain.scssfiles are displayed there. The problem is, the output file should really be one, because I saw the amp version of the site and the plugin that checks the “weight” of styles (gulp-amp-custom) refuses to work with aCSS source is not a string.errorCSS source is not a string.- Igor