0.0.1 • Published 9 years ago

gulp-merge-fragment v0.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

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

MIT License