Commit 921445c4 authored by Nikolay Gromov's avatar Nikolay Gromov

Завершил переход на gulp 4

parent 98efe4fb
......@@ -507,7 +507,7 @@ gulp.task('serve', gulp.series('build', function() {
browserSync.init({
server: dirs.buildPath,
port: port,
port: 8080,
startPath: 'index.html',
open: false,
});
......@@ -580,7 +580,7 @@ function getFilesList(config){
// Разметка (Pug)
if(fileExist(blockPath + blockName + '.pug')){
res.pug.push(blockPath + blockName + '.pug');
res.pug.push('../' + config.dirs.blocksDirName + '/' + blockName + '/' + blockName + '.pug');
}
else {
console.log('---------- Блок ' + blockName + ' указан как используемый, но не имеет pug-файла.');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment