gulp-merge-fragment

0.0.1 • Public • Published

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

Package Sidebar

Install

npm i gulp-merge-fragment

Weekly Downloads

1

Version

0.0.1

License

MIT

Last publish

Collaborators

  • matsutakefungus