Skip to content
Permalink
Browse files

chore(dep): replace gulp-minify-html with gulp-htmlmin for html minif…

…ication

gulp-minify-html has been deprecated in favor of gulp-htmlmin.
  • Loading branch information
jyounce committed Feb 1, 2016
1 parent 9ec05e9 commit 2002c42df5ba886d351cd0de78aed7c08d89ea59
@@ -33,7 +33,12 @@ module.exports = (config, options) ->
views: getOption 'html', 'views'
templateCache: getOption 'html', 'templateCache'
options: # not configurable
conditionals:true, empty:true, ssi:true
collapseWhitespace: true
removeComments: true # excludes ie conditionals
removeEmptyElements: false
removeEmptyAttributes: false
ignoreCustomFragments: [/<!--\s*?#\s*?include.*?-->/ig] # exclude custom html spa placeholder comments

spa:
file: getOption 'spa', 'file'

@@ -49,10 +49,10 @@
"gulp-coffee": "2.3.1",
"gulp-concat": "2.6.0",
"gulp-cssnano": "2.1.0",
"gulp-htmlmin": "1.3.0",
"gulp-if": "2.0.0",
"gulp-jsonminify": "1.0.0",
"gulp-less": "3.0.5",
"gulp-minify-html": "1.0.4",
"gulp-nodemon": "2.0.6",
"gulp-plumber": "1.0.1",
"gulp-rename": "1.2.2",
@@ -1,7 +1,7 @@
module.exports = (config, gulp) ->
q = require 'q'
path = require 'path'
minifyHtml = require 'gulp-minify-html'
minifyHtml = require 'gulp-htmlmin'
promiseHelp = require "#{config.req.helpers}/promise"

minifyTask = (appOrRb) ->
@@ -1,6 +1,6 @@
module.exports = (config, gulp) ->
q = require 'q'
minifyHtml = require 'gulp-minify-html'
minifyHtml = require 'gulp-htmlmin'
promiseHelp = require "#{config.req.helpers}/promise"

# tasks
@@ -3,7 +3,7 @@ module.exports = (config, gulp, taskOpts={}) ->
path = require 'path'
es = require 'event-stream'
gulpif = require 'gulp-if'
minifyHtml = require 'gulp-minify-html'
minifyHtml = require 'gulp-htmlmin'
templateCache = require 'gulp-angular-templatecache'
ngFormify = require "#{config.req.plugins}/gulp-ng-formify"
dirHelper = require("#{config.req.helpers}/dir") config, gulp

0 comments on commit 2002c42

Please sign in to comment.
You can’t perform that action at this time.