gulp-sass 5 does not have a default Sass compiler; please set one yourself.
Both the `sass` and `node-sass` packages are permitted.
For example, in your gulpfile:
var sass = require('gulp-sass')(require('sass'));
// _header - что нужно подключить
@import "header";
function generateFolderMap(fileDir){
let fs = require('fs');
let result = fs.readdirSync(fileDir, { withFileTypes: true })
.filter(a => a.isDirectory())
.map(a => a.name);
return result;
}
module.exports = generateFolderMap;