Skip to content

Better Gulp plugins for precompilation of doT template with support for es6 export syntax

Notifications You must be signed in to change notification settings

ahmedqasid/gulp-dot-precompiler-es6

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gulp-dot-precompiler-es6

This plugin is built on top of gulp-dot-precompiler with support for ES6 syntax

let gulp = require('gulp');
let dot  = require('gulp-dot-precompiler-es6');
let ext_replace = require('gulp-ext-replace');


gulp.task('dot', function () {
    return gulp.src(['./src/main/js/templates/**/*.html'])
        .pipe(dot()).pipe(ext_replace('.js'))
        .pipe(gulp.dest('./src/main/js/compiled-templates'));
});

About

Better Gulp plugins for precompilation of doT template with support for es6 export syntax

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%