在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):sindresorhus/gulp-debug开源软件地址(OpenSource Url):https://github.com/sindresorhus/gulp-debug开源编程语言(OpenSource Language):JavaScript 100.0%开源软件介绍(OpenSource Introduction):gulp-debug
Install
Usageconst gulp = require('gulp');
const debug = require('gulp-debug');
exports.default = () => (
gulp.src('foo.js')
.pipe(debug({title: 'unicorn:'}))
.pipe(gulp.dest('dist'))
); APIdebug(options?)optionsType: titleType: Give it a custom title so it's possible to distinguish the output of multiple instances logging at once. minimalType: By default only relative paths are shown. Turn off minimal mode to also show The showFilesType: Print filenames. showCountType: Print the file count. logger(message)Type: Provide your own logging utility in place of fancy-log. The message is passed as a string in the first argument. Note that ANSI colors may be used in the message. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论