@nean/gulp-pretty
v1.1.0
Published
gulp plugin for pretty
Downloads
2
Readme
@nean/gulp-pretty
This plugin uses https://github.com/jonschlinkert/pretty to format html
Install
npm i @nean/gulp-pretty
Usage
const gulp = require('gulp');
const pretty = require('@nean/gulp-pretty');
gulp.task('templates', () => {
return gulp.src('templates/**/*.html')
.pipe(pretty({ocd: true}))
.pipe(gulp.dest('dist'));
});