1.0.5 • Published 9 years ago

gulp-ejs2seajs v1.0.5

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

gulp-ejs2seajs

debug and translate ejs templets into a js file in CMD mode

Install

Install with npm.

npm install --save-dev gulp-ejs2seajs

Examples

var gulp = require('gulp');
var clean = require('gulp-ejs2seajs');

gulp.task('ejs2seajs', function () {
    gulp.src('./src/js/**/tpls')
        .pipe(ejs2seajs())
        .pipe(gulp.dest('./src/'));
});

Options

###tplname

Optional, name of the files created finally. Default to tpls.js if ignore this option.

you can also read the demo for details.

Grunt

Replace it to grunt-ejs2seajs while using grunt.

MIT @ VaJoy Larn

1.0.5

9 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago