gulp-ws-contents

0.0.6 • Public • Published

gulp-ws-contents

Plugin to create the file contents.js for testing modules WS framework.

API

wsContents(prepare, filename)

prepare

Type: Function
Default: null
Example: prepare(path)

filename

Type: String
Default: 'contents.js'

Contents filename.

Usage

var gulp = require('gulp');
var wsContents = require('gulp-ws-contents');
 
 
gulp.task('default', function() {
    return gulp.src('./proj/controls/**/*.module.js')
        .pipe(wsContents(function(path) {
            // Here you can change the path.
            return path;
        }))
        .pipe(gulp.dest('./dist'));
});

Readme

Keywords

Package Sidebar

Install

npm i gulp-ws-contents

Weekly Downloads

1

Version

0.0.6

License

MIT

Last publish

Collaborators

  • pkolt