The core infrastructure backend (API, database, Docker, etc).
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

20 lines
511 B

/// <binding BeforeBuild='build, dist' Clean='clean' ProjectOpened='build. dist' />
var gulp = require('gulp'),
rimraf = require('rimraf'),
premailer = require('gulp-premailer');
var paths = {
dist: '../../mail_dist/',
wwwroot: './wwwroot/'
};
gulp.task('inline', ['clean'], function () {
return gulp.src(paths.wwwroot + 'templates/*.html')
.pipe(premailer())
.pipe(gulp.dest(paths.dist));
});
gulp.task('clean', function (cb) {
return rimraf(paths.dist, cb);
});