0.0.1 • Published 10 years ago
gulp-merge-fragment v0.0.1
gulp-fragment-merge
合并页面中引用文件到当前页面
Usage
First, install gulp-fragment-merge
as a development dependency:
npm install --save-dev gulp-fragment-merge
Then, add it to your gulpfile.js
:
var merge-fragment = require("gulp-fragment-merge");
gulp.src("./src/*.ext")
.pipe(merge-fragment({
msg: "Hello Gulp!"
}))
.pipe(gulp.dest("./dist"));
API
merge-fragment(options)
options.msg
Type: String
Default: Hello World
The message you wish to attach to file.
License
0.0.1
10 years ago