Hello. Unfortunately, for some reason, sourcemaps works completely incorrectly and indicates the line number in the css file, and not in the scss file, as a result, the meaning of this module is completely lost.
enter image description here

The task looks like this:

gulp.task('sass', function() { return combiner( gulp.src([ 'dev/scss/main.scss' , 'dev/scss/project_components/**/*.scss' ]), debug({title: 'src'}), gulpIf(isDevelop, sourcemaps.init()), sass( sassOptions ), gcmq(), autoprefixer({ browsers: ['last 4 versions'] }), rename(function (path) { path.dirname += '/css'; path.basename = 'main' ? 'style' : path.basename; }), gulpIf(isDevelop, sourcemaps.write('.')), gulpIf(!isDevelop, csso()), newer('app'), gulp.dest('app'), debug({title: 'dest'}) ).on('error', notify.onError(function(err){ return { title: 'sass', message: err.message } })) }); 
  • 1. Is Enable CSS source maps included in DevTools? 2. Is Gulp running in isDevelop mode isDevelop ? - YozhEzhi
  • @YozhEzhi both points yes - pepel_xD
  • I would try to isolate the problem: I would leave only sourcemaps and sass in the taskbar and see the result. - YozhEzhi
  • @YozhEzhi is strange, followed your advice, commented out everything except sass and sourcemaps , it all worked. Then I started commenting one by one, in the end everything returned to its place and everything works. - pepel_xD

0