gulp-ejs2seajs

1.0.5 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i gulp-ejs2seajs

Weekly Downloads

1

Version

1.0.5

License

MIT

Last publish

Collaborators

  • vajoy