gulp-js-comment

0.2.0 • Public • Published

gulp-js-comment

How to use

const jsComment = require('gulp-js-comment')
 
gulp.task('jscomment', function(){
    return gulp.src(srcFile)
        .pipe(
            jsComment({
                // Comment output path
                commentFile: String,
 
                // If true then append comment to commentFile,
                // else    then write comment to commentFile
                commentAppend: Boolean,
 
                // If true then strip comment
                strip: Boolean,
            })
        )
        .pipe(gulp.dest())
})

Dependents (0)

Package Sidebar

Install

npm i gulp-js-comment

Weekly Downloads

1

Version

0.2.0

License

MIT

Unpacked Size

4.3 kB

Total Files

4

Last publish

Collaborators

  • sapics