Commit bedea8fe authored by Nikolay Gromov's avatar Nikolay Gromov

fix task sprite:png

parent 9486b3e1
......@@ -226,7 +226,7 @@ gulp.task('sprite:svg', function (callback) {
// Сборка SVG-спрайта для блока sprite-png
let spritePngPath = dirs.srcPath + dirs.blocksDirName + '/sprite-png/png/';
gulp.task('sprite:png', function () {
gulp.task('sprite:png', function (callback) {
if((pjson.configProject.blocks['sprite-png']) !== undefined) {
const spritesmith = require('gulp.spritesmith');
const buffer = require('vinyl-buffer');
......
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