Skip to content
This repository has been archived by the owner on Sep 7, 2022. It is now read-only.

Commit

Permalink
Replace outdated gulp-html-minifier package with gulp-htmlmin
Browse files Browse the repository at this point in the history
  • Loading branch information
armujahid committed Mar 23, 2018
1 parent 74f92ff commit d8c4c02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions generators/app/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const imagemin = require('gulp-imagemin');
// Before using each plugin, install with `npm i --save-dev <package-name>`
// const uglify = require('gulp-uglify');
// const cssSlam = require('css-slam').gulp;
// const htmlMinifier = require('gulp-html-minifier');
// const htmlMinifier = require('gulp-htmlmin');

const swPrecacheConfig = require('./sw-precache-config.js');
const polymerJson = require('./polymer.json');
Expand Down Expand Up @@ -73,7 +73,7 @@ function build() {
// the require statements at the beginning.
// .pipe(gulpif(/\.js$/, uglify())) // Install gulp-uglify to use
// .pipe(gulpif(/\.css$/, cssSlam())) // Install css-slam to use
// .pipe(gulpif(/\.html$/, htmlMinifier())) // Install gulp-html-minifier to use
// .pipe(gulpif(/\.html$/, htmlMinifier())) // Install gulp-htmlmin to use

// Remember, you need to rejoin any split inline code when you're done.
.pipe(sourcesStreamSplitter.rejoin());
Expand Down

0 comments on commit d8c4c02

Please sign in to comment.