Skip to content
This repository has been archived by the owner on Mar 5, 2020. It is now read-only.

Commit

Permalink
switch to gulp-html-prettify. fixes #657.
Browse files Browse the repository at this point in the history
  • Loading branch information
toolness committed Apr 10, 2015
1 parent 3ef998b commit 8dd2d5c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ var s3 = require('gulp-s3');
var gzip = require('gulp-gzip');
var less = require('gulp-less');
var cssmin = require('gulp-minify-css');
var prettify = require('gulp-prettify');
var prettify = require('gulp-html-prettify');
var webpack = require('gulp-webpack');
var plumber = require('gulp-plumber');
var merge = require('merge-stream');
Expand Down Expand Up @@ -160,6 +160,7 @@ gulp.task('test-react-warnings', function() {
gulp.task('generate-index-files', function() {
return new IndexFileStream(require('./lib/index-static.jsx'))
.pipe(prettify({
indent_char: ' ',
indent_size: 2
}))
.pipe(gulp.dest('./dist'));
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"gulp-less": "^3.0.1",
"gulp-minify-css": "^1.0.0",
"gulp-plumber": "^0.6.6",
"gulp-prettify": "^0.3.0",
"gulp-html-prettify": "^0.0.1",
"gulp-rename": "^1.2.0",
"gulp-s3": "^0.3.0",
"gulp-sitemap": "^2.0.1",
Expand Down

0 comments on commit 8dd2d5c

Please sign in to comment.