Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

gulp-mandrill-templates

enhancv5MIT1.1.1

Publish html files as mandrill templates

readme

Publish html files as mandrill templates

Build Status

Will publish html files as mandrill templates, using the filename stem (without extension) as the name of the template

Install

npm install gulp-mandrill-templates

Usage

const gulpMandrillTemplates = require('gulp-mandrill-templates');

gulp.task('publish', function () {
    return gulp.src('dist/**/*.html')
        .pipe(gulpMandrillTemplates({ key: process.env.MANDRILL_KEY }))
        .pipe(gulp.dest('dist'));
});