@jswork/gulp-pkg-header
v1.0.11
Published
Gulp header form package.json.
Downloads
24
Maintainers
Readme
gulp-pkg-header
Gulp header form package.json.
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.