diff --git a/.github/issue_template.md b/.github/issue_template.md index 840be2e..5d66878 100644 --- a/.github/issue_template.md +++ b/.github/issue_template.md @@ -1 +1 @@ - + diff --git a/.travis.yml b/.travis.yml index 82e0879..d3026b6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,8 +10,6 @@ node_js: - '8' - '7' - '6' - - '5' - - '4' git: depth: 1 branches: diff --git a/.verb.md b/.verb.md index c845898..df79257 100644 --- a/.verb.md +++ b/.verb.md @@ -1,10 +1,10 @@ ## Heads up! -_**Please do not report issues related to HTML parsing and output on this repository. Report those issues to the [html-minifier](https://github.com/kangax/html-minifier/issues) issue tracker.**_ +_**Please do not report issues related to HTML parsing and output on this repository. Report those issues to the [html-minifier-terser](https://github.com/DanielRuf/html-minifier-terser/issues) issue tracker.**_ ## Usage -See the [html-minifer docs](https://github.com/kangax/html-minifier) for all available options. +See the [html-minifier-terser docs](https://github.com/DanielRuf/html-minifier-terser) for all available options. ```js const gulp = require('gulp'); diff --git a/README.md b/README.md index 6a25851..f4ed9e1 100644 --- a/README.md +++ b/README.md @@ -14,11 +14,11 @@ $ npm install --save gulp-htmlmin ## Heads up! -_**Please do not report issues related to HTML parsing and output on this repository. Report those issues to the [html-minifier](https://github.com/kangax/html-minifier/issues) issue tracker.**_ +_**Please do not report issues related to HTML parsing and output on this repository. Report those issues to the [html-minifier-terser](https://github.com/DanielRuf/html-minifier-terser/issues) issue tracker.**_ ## Usage -See the [html-minifer docs](https://github.com/kangax/html-minifier) for all available options. +See the [html-minifier-terser docs](https://github.com/DanielRuf/html-minifier-terser) for all available options. ```js const gulp = require('gulp'); diff --git a/index.js b/index.js index eedad38..26e6d17 100644 --- a/index.js +++ b/index.js @@ -1,7 +1,7 @@ 'use strict'; const PluginError = require('plugin-error'); -const htmlmin = require('html-minifier'); +const htmlmin = require('html-minifier-terser'); const through = require('through2'); module.exports = options => { diff --git a/package.json b/package.json index 83d4fc2..52a3cce 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "test": "mocha" }, "dependencies": { - "html-minifier": "^3.5.20", + "html-minifier-terser": "^5.0.0", "plugin-error": "^1.0.1", "through2": "^2.0.3" },