0.0.6 • Published 8 years ago

gulp-ws-contents v0.0.6

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

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'));
});
0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago