1.0.11 • Published 2 days ago
@jswork/gulp-pkg-header v1.0.11
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.