提交 f07a38e4 编写于 作者: C Catouse

* ajust gulp format of print log.

上级 b793311a
...@@ -304,7 +304,7 @@ function buildBundle(name, callback, type) { ...@@ -304,7 +304,7 @@ function buildBundle(name, callback, type) {
.pipe(header(bannerContent)) .pipe(header(bannerContent))
.pipe(gulp.dest(destPath)) .pipe(gulp.dest(destPath))
.on('end', function() { .on('end', function() {
console.log(' less > '.yellow.bold + (destPath + build.filename + '.css').italic.underline); console.log(' css > '.yellow.bold + (destPath + build.filename + '.css').italic.underline);
}) })
//.pipe(sourcemaps.init()) //.pipe(sourcemaps.init())
.pipe(cssmin()) .pipe(cssmin())
...@@ -315,7 +315,7 @@ function buildBundle(name, callback, type) { ...@@ -315,7 +315,7 @@ function buildBundle(name, callback, type) {
//.pipe(sourcemaps.write()) //.pipe(sourcemaps.write())
.pipe(gulp.dest(destPath)) .pipe(gulp.dest(destPath))
.on('end', function() { .on('end', function() {
console.log(' less > '.yellow.bold + (destPath + build.filename + '.min.css').italic.underline); console.log(' css > '.yellow.bold + (destPath + build.filename + '.min.css').italic.underline);
}); });
}); });
taskList.push('build:' + name + ':less'); taskList.push('build:' + name + ':less');
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册