@jswork/gulp-pkg-header

1.0.10 • Public • Published

gulp-pkg-header

Gulp header form package.json.

version license size download

installation

npm install -D @jswork/gulp-pkg-header

usage

const header = require("@jswork/gulp-pkg-header");

// type: 'js'|'html'|'css'|'raw'

gulp.task('build' , function(){
  return gulp.src("./src/*.js")
    .pipe(header({ type: 'js' }))
    .pipe(gulp.dest("dist"));
});

license

Code released under the MIT license.

Package Sidebar

Install

npm i @jswork/gulp-pkg-header

Weekly Downloads

9

Version

1.0.10

License

MIT

Unpacked Size

4.89 kB

Total Files

5

Last publish

Collaborators

  • afeiship