在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):HerringtonDarkholme/gulp-progeny开源软件地址(OpenSource Url):https://github.com/HerringtonDarkholme/gulp-progeny开源编程语言(OpenSource Language):CoffeeScript 100.0%开源软件介绍(OpenSource Introduction):gulp-progenyA dependency-resolving plugin for Gulp. It grabs all files related to one modification to building system. ##Introduction
Gulp provides incremental building.
However it is agnostic about the dependencies among files.
Say, if
##What does gulp-progeny do
This plugin brings the agility of brunch to gulp world.
It provides generic dependency detection to various file types.
##Usage
var cache = require('gulp-cached');
var progeny = require('gulp-progeny');
var stylus = require('gulp-stylus');
gulp.task('style', function(){
return gulp.src('*.styl')
.pipe(cache('style'))
.pipe(progeny())
.pipe(stylus())
});
gulp.task('watch', function(){
gulp.watch('*.styl', ['style']);
});
Advanced configurationAs Limitation
Limitations above are almost ineluctable for this simple plugin. To keep API and extension simple and generic, some features are doomed to be dropped. This plugin does not fill the chasm between a single one Regexp and full-bloom parsers. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论